You do all your processing in a task.
@async begin
while !eof(socket)
line = readline(socket)
# process line
end
end
You do all your processing in a task.
@async begin
while !eof(socket)
line = readline(socket)
# process line
end
end