Connection:
- The host starts a Julia process for the worker
- The worker finds a free port and starts a TCP server
- The worker writes the chosen port to stdout
- The host reads the port number from stdout
- The host connects to the worker's server, we now have an open TCP socket
Communication (either direction):
- Send
msg_type::UInt8
- Send
message_id::UInt64
- Send your message data
- (Not yet implemented) send the message boundary
Message data:
from_host_call_with_response
(f, args, kwargs, respond_with_nothing::Bool)
from_host_call_without_response
(f, args, kwargs, this_value_is_ignored::Bool)
from_host_fake_interrupt
()
from_worker_call_result
result
from_worker_call_failure
result