Up

Module type Worker_spec

Specification for the creation of a worker type

Signature

type 'worker functions

A type to encapsulate all the functions that can be run on this worker. Using a record type here is often the most convenient and readable.

module Worker_state : sig .. end
State associated with each Worker.t.
module Connection_state : sig .. end
State associated with each connection to a Worker.t