package async_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'h) t
include sig ... end
val sexp_of_t : ('a -> Sexplib.Sexp.t) -> ('h -> Sexplib.Sexp.t) -> ('a, 'h) t -> Sexplib.Sexp.t
type t_unit = (unit, unit) t
include sig ... end
val sexp_of_t_unit : t_unit -> Sexplib.Sexp.t
include Core_kernel.Invariant.S2 with type ('a, 'b) t := ('a, 'b) t
val invariant : ('a -> unit) -> ('b -> unit) -> ('a, 'b) t -> unit
val scheduled_at : (_, _) t -> Base__.Int63_backends.Dynamic.t
val status : ('a, 'h) t -> [ `Aborted of 'a | `Happened of 'h | `Scheduled_at of Base__.Int63_backends.Dynamic.t ]
val run_at : [> Core_kernel.read ] T1.t -> Base__.Int63_backends.Dynamic.t -> ('z -> 'h) -> 'z -> (_, 'h) t
val run_after : [> Core_kernel.read ] T1.t -> Core_kernel.Core_kernel_private.Time_ns_alternate_sexp.Span.t -> ('z -> 'h) -> 'z -> (_, 'h) t
val abort : ('a, 'h) t -> 'a -> [ `Ok | `Previously_aborted of 'a | `Previously_happened of 'h ]
val abort_exn : ('a, 'h) t -> 'a -> unit
val abort_if_possible : ('a, _) t -> 'a -> unit
val fired : ('a, 'h) t -> [ `Aborted of 'a | `Happened of 'h ] Async_kernel__.Types.Deferred.t
val reschedule_at : ('a, 'h) t -> Base__.Int63_backends.Dynamic.t -> [ `Ok | `Previously_aborted of 'a | `Previously_happened of 'h | `Too_late_to_reschedule ]
val reschedule_after : ('a, 'h) t -> Core_kernel.Core_kernel_private.Time_ns_alternate_sexp.Span.t -> [ `Ok | `Previously_aborted of 'a | `Previously_happened of 'h | `Too_late_to_reschedule ]
val at : [> Core_kernel.read ] T1.t -> Base__.Int63_backends.Dynamic.t -> (_, unit) t
OCaml

Innovation. Community. Security.