Expand description
Real-time and virtual timers for use with Clock implementations.
Defines TimeEvent values, callback and handler types, heap scheduling order, and the
deterministic VirtualTimer iterator. The event and callback primitives are shared by virtual and
live clock implementations.
Structs§
- Python
Time Event Callback - Wraps a Python callable that handles time events.
- Scheduled
Time Event - Orders a
TimeEventfor earliest-first scheduling in aBinaryHeap. - Time
Event - Represents a named timer event.
- Time
Event Handler - Pairs a
TimeEventwith its callback for ordered dispatch. - Virtual
Timer - A deterministic interval timer for use with a
VirtualClock.
Enums§
- Time
Event Callback - Represents a callback invoked for time events.
Functions§
- create_
valid_ interval - Returns a positive nanosecond interval, coercing zero to one nanosecond.