Module actix_rt::time [−][src]
Expand description
Utilities for tracking time.
Structs
Future returned by delay_until
and
delay_for
.
A measurement of the system clock, useful for talking to external entities like the file system or other processes.
Stream returned by interval
and interval_at
.
Future returned by timeout
and timeout_at
.
Functions
Waits until duration
has elapsed.
Waits until deadline
is reached.
Creates new Interval
that yields with interval of duration
. The first
tick completes immediately.
Creates new Interval
that yields with interval of period
with the
first tick completing at start
.
Require a Future
to complete before the specified duration has elapsed.