Expand description
Utilities for tracking time.
Structs§
- A
Durationtype to represent a span of time, typically used for system timeouts. - Errors returned by
Timeout. - A measurement of a monotonically nondecreasing clock. Opaque and useful only with
Duration.
Functions§
- Waits until duration has elapsed.
- Requires a Future to complete before the specified duration has elapsed.