Module Make.Shutdown_on
Parameters
Signature
type _ t=|Disconnect : (connection_state_init_arg:connection_state_init_arg -> Connection.t M.t Async.Deferred.t) tAn initial connection to the worker is established. The worker shuts itself down when
Rpc.Connection.close_finishedon this connection.|Heartbeater_timeout : worker M.t Async.Deferred.t tA "heartbeater" connection is established between the worker and its master. The worker shuts itself down when
Rpc.Connection.close_finishedon this connection, which is likely when the master process exits.|Called_shutdown_function : worker M.t Async.Deferred.t tWARNING! Worker's spawned with this variant do not shutdown when the master process exits. The worker only shuts itself down on an explicit shutdown request.