Miou.Promise
type nonrec 'a t = 'a t
type state =
| Running
| Exited
| Finished
The status of a promise: it may be in a pending state, or it may have ended abnormally (Exited) or successfully (Finished). This status is for information purposes only.
Exited
Finished
module Uid : sig ... end
val uid : 'a t -> Uid.t
uid prm returns the unique ID of the promise.
uid prm
val state : 'a t -> state
state prm returns the status of a promise.
state prm