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
  • deprecated [since 2016-02] Use [Time_source]
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
  • deprecated [since 2016-02] Use [Time_source]
val status : ('a, 'h) t -> [ `Aborted of 'a | `Happened of 'h | `Scheduled_at of Base__.Int63_backends.Dynamic.t ]
  • deprecated [since 2016-02] Use [Time_source]
val run_at : Base__.Int63_backends.Dynamic.t -> ('z -> 'h) -> 'z -> (_, 'h) t
  • deprecated [since 2016-02] Use [Time_source]
val run_after : Base__.Int63_backends.Dynamic.t -> ('z -> 'h) -> 'z -> (_, 'h) t
  • deprecated [since 2016-02] Use [Time_source]
val abort : ('a, 'h) t -> 'a -> [ `Ok | `Previously_aborted of 'a | `Previously_happened of 'h ]
  • deprecated [since 2016-02] Use [Time_source]
val abort_exn : ('a, 'h) t -> 'a -> unit
  • deprecated [since 2016-02] Use [Time_source]
val abort_if_possible : ('a, _) t -> 'a -> unit
  • deprecated [since 2016-02] Use [Time_source]
val fired : ('a, 'h) t -> [ `Aborted of 'a | `Happened of 'h ] Clock_intf.Deferred.t
  • deprecated [since 2016-02] Use [Time_source]
val reschedule_at : ('a, 'h) t -> Base__.Int63_backends.Dynamic.t -> [ `Ok | `Previously_aborted of 'a | `Previously_happened of 'h | `Too_late_to_reschedule ]
  • deprecated [since 2016-02] Use [Time_source]
val reschedule_after : ('a, 'h) t -> Base__.Int63_backends.Dynamic.t -> [ `Ok | `Previously_aborted of 'a | `Previously_happened of 'h | `Too_late_to_reschedule ]
  • deprecated [since 2016-02] Use [Time_source]
val at : Base__.Int63_backends.Dynamic.t -> (_, unit) t
  • deprecated [since 2016-02] Use [Time_source]
val after : Base__.Int63_backends.Dynamic.t -> (_, unit) t
  • deprecated [since 2016-02] Use [Time_source]