package async_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Status : sig ... end
type t = {
  1. mutable alarm : Async_kernel__.Types.Job_or_event.t Alarm.t;
  2. mutable at : Time_ns.t;
  3. callback : unit -> unit;
  4. execution_context : Execution_context.t;
  5. mutable interval : Time_ns.Span.t option;
  6. mutable next_fired : t;
  7. mutable status : Status.t;
}
val status : t -> Status.t
val next_fired : t -> t
val set_next_fired : t -> t -> unit
val interval : t -> Time_ns.Span.t option
val set_interval : t -> Time_ns.Span.t option -> unit
val execution_context : t -> Execution_context.t
val callback : t -> unit -> unit
val at : t -> Time_ns.t
val set_at : t -> Time_ns.t -> unit
val alarm : t -> Async_kernel__.Types.Job_or_event.t Alarm.t
val set_alarm : t -> Async_kernel__.Types.Job_or_event.t Alarm.t -> unit
module Fields : sig ... end
val none : t
val is_none : t -> bool
val is_some : t -> bool
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val invariant : t -> unit
val compare_at : t -> t -> int
val set_status : t -> Status.t -> unit
OCaml

Innovation. Community. Security.