package functory

  1. Overview
  2. Docs
type ('a, 'c) t
val create : worker:('a -> 'b) -> master:(('a * 'c) -> 'b -> ('a * 'c) list) -> ('a, 'c) t
val add_worker : ('a, 'c) t -> worker -> unit
val add_task : ('a, 'c) t -> ('a * 'c) -> unit
val remove_worker : ('a, 'c) t -> worker -> unit
val one_step : ?timeout:float -> ('a, 'c) t -> unit
val status : ('a, 'c) t -> computation_status
val clear : ('a, 'c) t -> unit
val kill : ('a, 'c) t -> unit
OCaml

Innovation. Community. Security.