Module agnostic_async_executor::time[][src]

A set of time utilities useful when working with async code that work with every executor, including wasm. When possible, they are implemented using the executor provided primitives to make it as performance and accurate as possible.

Structs

Interval

An interval be used to retrieve a sequence of futures, each one expiring after a given interval from the previous one.

Stopwatch

A Stopwatch can be used to measure time in a generic way that works even on wasm.

TimedOut

Error returned when a future times out.