package miou

  1. Overview
  2. Docs

Module Miou.PromiseSource

Sourcetype nonrec 'a t = 'a t
Sourcetype 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.

    *)
Sourcemodule Uid : sig ... end
Sourceval uid : 'a t -> Uid.t

uid prm returns the unique ID of the promise.

Sourceval state : 'a t -> state

state prm returns the status of a promise.