Crate async_timer

Source
Expand description

Async timer lib

§Timers

§Primitives

  • Timed - A wrapper over future that allows to limit time for the future to resolve.
  • Interval - Periodic timer, that on each completition returns itself to poll once again with the same interval.

§Features

  • tokio_on - Enables implementations that require platform’s event loop

Re-exports§

Modules§

Structs§

Enums§

  • Limiter on time to wait for underlying Future

Functions§

  • Creates interval with default Platform timer.
  • Run future in timed fashion using default Platform timer.