Up

Module Alarm

Signature

type 'a t
val sexp_of_t : ('a -> Sexplib.Sexp.t) -> 'a t -> Sexplib.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 -> 'a t -> Time.t

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

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