Module Worker_supervisor.Make

Make (Worker) creates a supervisor which wraps dispatches to Worker.

Parameters

Signature

include Base_intf with type create_args := Worker.create_args with type input := Worker.input with type output := Worker.output
type t
val create : Worker.create_args -> t
val close : t -> unit Async_kernel.Deferred.t
val is_working : t -> bool
val dispatch : t -> Worker.input -> Worker.output Async_kernel.Deferred.t