include T1.Event
module Status = T1.Event.Statustype t = {mutable alarm : Async_kernel__Types.Job_or_event.t Alarm.t; |
mutable at : Time_ns.t; |
callback : unit -> unit; |
execution_context : Async_kernel.Execution_context.t; |
mutable interval : Time_ns.Span.t option; |
mutable next_fired : 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 -> Async_kernel.Execution_context.tval callback : t -> unit -> unitmodule Fields : sig ... endval none : tval is_none : t -> boolval is_some : t -> boolval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.tval invariant : t -> 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_kernel.Or_error.tval schedule_at : 'a T1.t -> t -> Time_ns.t -> unit Core_kernel.Or_error.tval schedule_after : 'a T1.t -> t -> Time_ns.Span.t -> unit Core_kernel.Or_error.tval schedule_at_intervals : 'a T1.t -> t -> Time_ns.Span.t -> unit Core_kernel.Or_error.tmodule Reschedule_result : sig ... endval reschedule_at : 'a T1.t -> t -> Time_ns.t -> Reschedule_result.tval reschedule_after : 'a T1.t -> t -> Time_ns.Span.t -> Reschedule_result.t