Module Miou.Promise

type nonrec 'a t = 'a t
type state =
  1. | Running
  2. | Exited
  3. | 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.

    *)
module Uid : sig ... end
val uid : 'a t -> Uid.t

uid prm returns the unique ID of the promise.

val state : 'a t -> state

state prm returns the status of a promise.