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

type init_arg

init init_arg will be called in a worker when it is spawned

val bin_read_init_arg : init_arg Core.Std.Bin_prot.Read.reader
val __bin_read_init_arg__ : (int -> init_arg) Core.Std.Bin_prot.Read.reader
val bin_size_init_arg : init_arg Core.Std.Bin_prot.Size.sizer
val bin_write_init_arg : init_arg Core.Std.Bin_prot.Write.writer
type state
module Functions (C : Creator with type state := state) : Functions with type 'a functions := 'a functions with type worker := C.worker
The functions that can be run on this worker type