Expand description
glommio::timer is a module that provides timing related primitives.
Structs§
- A timer that expires after a duration of time.
- The TimerActionOnce struct provides an ergonomic way to fire an action at a later point in time.
- The
TimerActionRepeat
struct provides an ergonomic way to fire a repeated action at specified intervals, without having to fire newTimerActionOnce
events
Functions§
- Sleep for some time.
- Executes a future with a specified timeout