Time
Modules for working with time.
The submodules are:
Time.Clockaccesses the current (real-world) time.Time.Durationrepresents a span of time.Time.Sleepsuspends the current thread for a given duration.Time.TimeUnitrepresents units of time, such as seconds and minutes.
Effects
| Clock | Effect for accessing the current (real-world) time. |
| Sleep | Effect for sleeping the current thread. |
Enums
| Duration | Type of durations measured in nanoseconds. |
| TimeUnit | Type of time units. |