A Duration type to represent a span of time, typically used for system
Duration
A measurement of a monotonically nondecreasing clock.
Interval returned by interval and interval_at.
interval
interval_at
Creates new Interval that yields with interval of period. The first
Interval
period
Creates new Interval that yields with interval of period with the
Waits until duration has elapsed.