package async_kernel

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of struct include Timing_wheel.Alarm end
type 'a t = 'a Timing_wheel.Alarm.t
val sexp_of_t : ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.t
val null : unit -> _ t

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

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

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