('worker, 'query, 'response) Function.t
is a type-safe function 'query ->
'response Deferred.t
that can only be run on a 'worker
.
Heartbeater.t
is an Rpc server only used for heartbeats.
start_app command
should be called from the top-level in order to start the
parallel application. command
must be constructed with a call to Command.async
so
that the Async scheduler is started. This function will parse certain environment
variables and determine whether to start as a master or a worker.
rpc_max_message_size
, rpc_heartbeat_config
, where_to_listen
specify the RPC
server that the master starts.
State.get
to query whether the current process has been initialized as an rpc
parallel master (start_app
or init_master_exn
has been called).
Expert
module instead of start_app
.