package devkit

  1. Overview
  2. Docs

Thread workers

Parameters

module T : WorkerT

Signature

type task = T.task
type result = T.result
type t
val create : (task -> result) -> int -> t
val perform : t -> ?autoexit:bool -> task Enum.t -> (result -> unit) -> unit
val stop : ?wait:int -> t -> unit
OCaml

Innovation. Community. Security.