Crate ora_timer

Source
Expand description

Low-level timer implementations.

Modules§

resolution
Resolution adapters for timers.
wheel
A hierarchical timing wheel based on https://github.com/Bathtor/rust-hash-wheel-timer.

Structs§

Delayed
A delayed item with a delay duration and an arbitrary payload.
TimerOptions
Options for the timer loop.

Enums§

TimerLoopAction
A desired action to be taken by the timer loop.

Functions§

run_binary_heap_timer
Run a timer loop backed by a binary heap structure.
run_hierarchical_timer
Run a timer loop with a hierarchical timing wheel algorithm and the given resolution.