package rpc_parallel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

The functions that can be run on this worker type

Parameters

module C : sig ... end

Signature

val functions : C.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.t -> Connection_state.init_arg -> Connection_state.t 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.

OCaml

Innovation. Community. Security.