Skip to main content

Module timer

Module timer 

Source
Expand description

§Timers

The schedule behind Engine::on_timer. It only decides when timers are due, from Instants the caller passes in; the callbacks live in the Engine. Keeping the clock out of the schedule makes it testable without waiting.

Structs§

TimerId
A handle identifying one timer, returned by Engine::on_timer.