Async.Unix
Basic abstraction for a worker.
val outcome_t : outcome Brassaia_eio_pack_io.Async_intf.Brassaia.Type.t
val status_t : status Brassaia_eio_pack_io.Async_intf.Brassaia.Type.t
val async : (unit -> unit) -> t
Start a task.
If running, wait for a task to finish and return its outcome.
If not running, return the oucome of the task.
If running, refresh the status of the task, without blocking.
If not running, return the oucome of the task.
val cancel : t -> bool
If running, cancel the task and return true
.
If not running, do nothing and return false
.