package async_kernel

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module T1.EventSource

Sourcemodule Status : sig ... end
Sourcetype event
Sourceval sexp_of_event : event -> Ppx_sexp_conv_lib.Sexp.t
Sourcemodule Option : sig ... end
Sourcetype 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 : Option.t;
  7. mutable prev_fired : Option.t;
  8. mutable status : Status.t;
}
Sourceval status : t -> Status.t
Sourceval prev_fired : t -> Option.t
Sourceval set_prev_fired : t -> Option.t -> unit
Sourceval next_fired : t -> Option.t
Sourceval set_next_fired : t -> Option.t -> unit
Sourceval interval : t -> Time_ns.Span.t option
Sourceval set_interval : t -> Time_ns.Span.t option -> unit
Sourceval execution_context : t -> Execution_context.t
Sourceval callback : t -> unit -> unit
Sourceval at : t -> Time_ns.t
Sourceval set_at : t -> Time_ns.t -> unit
Sourceval alarm : t -> Async_kernel__.Types.Job_or_event.t Alarm.t
Sourceval set_alarm : t -> Async_kernel__.Types.Job_or_event.t Alarm.t -> unit
Sourcemodule Fields : sig ... end
Sourceval invariant : event -> unit
Sourceval set_status : t -> Status.t -> unit
Sourceval set_status_if : is:Status.t -> t -> Status.t -> unit
Sourceval scheduled_at : t -> Time_ns.t
OCaml

Innovation. Community. Security.