package async_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
  • deprecated [since 2020-03] Use [Deferred] directly; if that does not work, look for alternative ways to access the definition, for example use [Monad_sequence.how] instead of [Throttle.Deferred.how]
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 t
val invariant : 'a Base__Invariant_intf.inv -> 'a Deferred.t Base__Invariant_intf.inv
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 : sig ... end
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 Unregister.t -> 'a
val generic_choose : 'a Choice.t list -> 'a Deferred.t
val choose2 : 'a Deferred.t -> ('a -> 'b) -> 'c Deferred.t -> ('c -> 'b) -> 'b Deferred.t
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 = sig ... end
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
module For_tests : sig ... end
OCaml

Innovation. Community. Security.