compio_runtime

Module time

Source
Available on crate feature time only.
Expand description

Utilities for tracking time.

Structs§

Functions§

  • Creates new Interval that yields with interval of period. The first tick completes immediately.
  • Creates new Interval that yields with interval of period with the first tick completing at start.
  • Waits until duration has elapsed.
  • Waits until deadline is reached.
  • Require a Future to complete before the specified duration has elapsed.
  • Require a Future to complete before the specified instant in time.