package async_unix

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type ('a, 'h) t
val sexp_of_t : ('a -> Sexplib.Sexp.t) -> ('h -> Sexplib.Sexp.t) -> ('a, 'h) t -> Sexplib.Sexp.t
type t_unit = (unit, unit) t
val sexp_of_t_unit : t_unit -> Sexplib.Sexp.t
val invariant : 'a Core_kernel.Invariant_intf.inv -> 'b Core_kernel.Invariant_intf.inv -> ('a, 'b) t Core_kernel.Invariant_intf.inv
val scheduled_at : ('a, 'b) t -> Core.Std.Time.t
val status : ('a, 'h) t -> [ `Aborted of 'a | `Happened of 'h | `Scheduled_at of Core.Std.Time.t ]
val run_at : Core.Std.Time.t -> ('z -> 'h) -> 'z -> ('a, 'h) t
val run_after : Core.Std.Time.Span.t -> ('z -> 'h) -> 'z -> ('a, '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, 'b) t -> 'a -> unit
val fired : ('a, 'h) t -> [ `Aborted of 'a | `Happened of 'h ] Async_kernel.Clock_intf.Deferred.t
val reschedule_at : ('a, 'h) t -> Core.Std.Time.t -> [ `Ok | `Previously_aborted of 'a | `Previously_happened of 'h | `Too_late_to_reschedule ]
val reschedule_after : ('a, 'h) t -> Core.Std.Time.Span.t -> [ `Ok | `Previously_aborted of 'a | `Previously_happened of 'h | `Too_late_to_reschedule ]
val at : Core.Std.Time.t -> ('a, unit) t
val after : Core.Std.Time.Span.t -> ('a, unit) t
OCaml

Innovation. Community. Security.