Module timer

Module timer 

Source
Expand description

Functionality related to timers.

Timers requires support from a runtime implementing the SupportsTimers trait.

Structs§

Timer
A timer suitable for use by actors.

Enums§

TimerState
Timers will be in one of these states.

Traits§

SupportsTimers
Timers can be used on runtimes implementing this trait.
Tick
Provides an actor with a “tick” method, that will be called whenever a timer elapses.