Module Async_kernel__.Deferred0

Internal to Async -- see Deferred for the public API.

type +'a t = 'a Async_kernel__.Types.Deferred.t
include sig ... end
val sexp_of_t : ('a ‑> Base.Sexp.t) ‑> 'a t ‑> Base.Sexp.t
type 'a deferred = 'a t
include Core_kernel.Invariant.S1 with type t := a t
type 'a t
val of_ivar : 'a Async_kernel__.Ivar0.t ‑> 'a t
val create : ('a Async_kernel__.Ivar0.t ‑> unit) ‑> 'a t
val peek : 'a t ‑> 'a option
val value_exn : 'a t ‑> 'a
val is_determined : _ t ‑> bool
val return : 'a ‑> 'a t
val upon : 'a t ‑> ('a ‑> unit) ‑> unit
val bind : 'a t ‑> f:('a ‑> 'b t) ‑> 'b t
module Handler : sig ... end
val add_handler : 'a t ‑> ('a ‑> unit) ‑> Async_kernel.Execution_context.t ‑> 'a Handler.t
val remove_handler : 'a t ‑> 'a Handler.t ‑> unit