package async_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Scheduler : sig ... end
type +'a t
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a Deferred.t -> Sexplib0.Sexp.t
include Core.Invariant.S1 with type 'a t := 'a Deferred.t
val invariant : ('a -> unit) -> 'a Deferred.t -> unit
val of_ivar : 'a Async_kernel__.Types.Ivar.t -> 'a Deferred.t
val create : ('a Async_kernel__.Types.Ivar.t -> unit) -> 'a Deferred.t
val peek : 'a Deferred.t -> 'a option
val value_exn : 'a Deferred.t -> 'a
val is_determined : _ Deferred.t -> bool
val upon : 'a Deferred.t -> ('a -> unit) -> unit
module Handler : sig ... end
val add_handler : 'a Deferred.t -> ('a -> unit) -> Execution_context.t -> 'a Handler.t
val remove_handler : 'a Deferred.t -> 'a Handler.t -> unit
val never : unit -> 'a Deferred.t
module M : sig ... end
include module type of struct include M end
val (>>=) : 'a Async_kernel__.Types.Deferred.t -> ('a -> 'b Async_kernel__.Types.Deferred.t) -> 'b Async_kernel__.Types.Deferred.t
val (>>|) : 'a Async_kernel__.Types.Deferred.t -> ('a -> 'b) -> 'b Async_kernel__.Types.Deferred.t
module Monad_infix = M.Monad_infix
val bind : 'a Async_kernel__.Types.Deferred.t -> f:('a -> 'b Async_kernel__.Types.Deferred.t) -> 'b Async_kernel__.Types.Deferred.t
val map : 'a Async_kernel__.Types.Deferred.t -> f:('a -> 'b) -> 'b Async_kernel__.Types.Deferred.t
val join : 'a Async_kernel__.Types.Deferred.t Async_kernel__.Types.Deferred.t -> 'a Async_kernel__.Types.Deferred.t
val ignore_m : 'a Async_kernel__.Types.Deferred.t -> unit Async_kernel__.Types.Deferred.t
val return : 'a -> 'a Deferred.t
module Let_syntax : sig ... end
val unit : unit Deferred.t
val both : 'a Deferred.t -> 'b Deferred.t -> ('a * 'b) Deferred.t
module Infix : sig ... end
val don't_wait_for : unit Deferred.t -> unit
module Choice : sig ... end
module Unregister : sig ... end
val choice : 'a Deferred.t -> ('a -> 'b) -> 'b Choice.t
val enabled : 'a Choice.t list -> (unit -> 'a list) Deferred.t
val choose_result : 'a Choice.t list -> 'a
val choose : 'a Choice.t list -> 'a Deferred.t
val any_f : 'a Deferred.t list -> ('a -> 'b) -> 'b Deferred.t
val any : 'a Deferred.t list -> 'a Deferred.t
val any_unit : unit Deferred.t list -> unit Deferred.t
val for_ : int -> to_:int -> do_:(int -> unit Async_kernel__.Types.Deferred.t) -> unit Deferred.t
val repeat_until_finished : 'a -> ('a -> [< `Finished of 'b | `Repeat of 'a ] Deferred.t) -> 'b Deferred.t
val forever : 'a -> ('a -> 'a Async_kernel__.Types.Deferred.t) -> unit
val sexp_of_how : how -> Sexplib0.Sexp.t
module type Monad_sequence = Monad_sequence.S with type 'a monad := 'a Deferred.t
val fold : 'a list -> init:'b -> f:('b -> 'a -> 'b Deferred.t) -> 'b Deferred.t
val seqmap : 'a list -> f:('a -> 'b Async_kernel__.Types.Deferred.t) -> 'b list Async_kernel__.Types.Deferred.t
val all : 'a Async_kernel__.Types.Deferred.t list -> 'a list Async_kernel__.Types.Deferred.t
val all_unit : unit Deferred.t list -> unit Deferred.t
val ok : 'a Async_kernel__.Types.Deferred.t -> ('a, 'b) Core._result Async_kernel__.Types.Deferred.t
OCaml

Innovation. Community. Security.