Eio_utils.Zzz
SourceA set of timers.
A set of timers (implemented as a priority queue).
add t time item
adds a new event, due at time
, and returns its ID.
If item
is a Fiber
, you must use Eio.Private.Fiber_context.set_cancel_fn
on it before calling pop
. Your cancel function should call remove
(in addition to resuming it).