Module Synchronous_time_source0.Alarm

include Timing_wheel.Alarm
type 'a t
val sexp_of_t : ('a -> Ppx_sexp_conv_lib.Sexp.t) -> 'a t -> Ppx_sexp_conv_lib.Sexp.t
val null : unit -> _ t

null () returns an alarm t such that not (mem timing_wheel t) for all timing_wheels.

val at : 'a Timing_wheel.timing_wheel -> 'a t -> Core_kernel.Time_ns.t

All Alarm functions will raise if not (Timing_wheel.mem timing_wheel t).

val interval_num : 'a Timing_wheel.timing_wheel -> 'a t -> Timing_wheel.Interval_num.t
val value : 'a Timing_wheel.timing_wheel -> 'a t -> 'a
val is_null : 'a t -> bool