Module Ivar.Deferred

module Deferred: sig .. end
The Deferred module exposed here is for async's internal use only.

type +'a t 
val create : ('a Ivar.ivar -> unit) -> 'a t
val peek : 'a t -> 'a option
val is_determined : 'a t -> bool
val return : 'a -> 'a t
val upon : 'a t -> ('a -> unit) -> unit
val upon' : 'a t -> ('a -> unit) -> Unregister.t
val bind : 'a t -> ('a -> 'b t) -> 'b t
val install_removable_handler : 'a t -> 'a Raw_handler.t -> Unregister.t
val sexp_of_t : ('a -> Sexplib.Sexp.t) -> 'a t -> Sexplib.Sexp.t