package rpc_parallel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type worker
type worker_state_init_arg
type worker_state
type connection_state_init_arg
type connection_state
type 'worker functions
val functions : worker functions

init_worker_state is called with the init_arg passed to spawn or serve

val init_connection_state : connection:Async.Rpc.Connection.t -> worker_state:worker_state -> connection_state_init_arg -> connection_state Async.Deferred.t

init_connection_state is called with the init_arg passed to Connection.client

connection should only be used to register close_finished callbacks, not to dispatch.