Expand description
A generic timer scheduler module that can be integrated into a crossbeam based event loop or used to launch a background timer thread.
Structs§
- Scheduled
Event 🔒 - Timer
Event Request - Requests a TimerEvent-Message be sent after the given duration.
- TimerId
- Timer
Scheduler - A queue of
TimerEventRequest
s that are stored in order of next-to-fire.
Type Aliases§
- Boxed
Timer Callback - A callback to pass to the
TimerScheduler
to be called when the timer is dispatched.