module Make_unreliable:
Make_unreliable
has the following properties. Given a watcher
w
:
Tick.LIFECYCLE.suspend
event while
Tick.WATCHER.waiting
w
is true
. The value of
Tick.WATCHER.linger_ns
w
is an accurate and exact wall-clock time
span.Tick.LIFECYCLE.poweroff
event.
These properties are typically sufficient for watching small timeouts
in protocol implementations.
Parameters: |
|
type
t
typetrigger =
t -> unit
include Tick.WATCHER