package async_kernel
Module Synchronous_time_source.Event
include module type of struct include T1.Event end
module Status = T1.Event.Statusval sexp_of_event : event -> Ppx_sexp_conv_lib.Sexp.tmodule Option = T1.Event.Optiontype t = {mutable alarm : Async_kernel__.Types.Job_or_event.t Alarm.t;mutable at : Time_ns.t;callback : unit -> unit;execution_context : Execution_context.t;mutable interval : Time_ns.Span.t option;mutable next_fired : Option.t;mutable prev_fired : Option.t;mutable status : Status.t;
}val interval : t -> Time_ns.Span.t optionval set_interval : t -> Time_ns.Span.t option -> unitval execution_context : t -> Execution_context.tval callback : t -> unit -> unitmodule Fields = T1.Event.Fieldsval sexp_of_t : event -> Ppx_sexp_conv_lib.Sexp.tval invariant : event -> unitval create_internal :
'a T1.t ->
at:Time_ns.t ->
interval:Time_ns.Span.t option ->
callback:(unit -> unit) ->
tval create_and_add :
'a T1.t ->
at:Time_ns.t ->
interval:Time_ns.Span.t option ->
callback:(unit -> unit) ->
tval after : 'a T1.t -> Time_ns.Span.t -> (unit -> unit) -> tval require_span_at_least_alarm_precision : 'a T1.t -> Time_ns.Span.t -> unitval at_intervals : 'a T1.t -> Time_ns.Span.t -> (unit -> unit) -> tmodule Abort_result : sig ... endval abort : 'a T1.t -> t -> Abort_result.tval schedule_at_internal :
'a T1.t ->
t ->
Time_ns.t ->
interval:Time_ns.Span.t option ->
unit Core.Or_error.tval schedule_at : 'a T1.t -> t -> Time_ns.t -> unit Core.Or_error.tval schedule_after : 'a T1.t -> t -> Time_ns.Span.t -> unit Core.Or_error.tval schedule_at_intervals :
'a T1.t ->
t ->
Time_ns.Span.t ->
unit Core.Or_error.tval reschedule_after : 'a T1.t -> t -> Time_ns.Span.t -> unit