Time
The Time module is a collection of time-related utility submodules,
each offering a self-contained piece of functionality:
Time.Clock accesses the current (real-world) time.
Time.Duration represents a span of time.
Time.Sleep suspends the current thread for a given duration.
Time.TimeUnit represents units of time, such as seconds and minutes.
Effects
| Clock | An effect used to access the current (real-world) time. |
| Sleep | An effect used to sleep the current thread. |
Enums
| Duration | Represents a duration of time stored as nanoseconds (Int64). |
| TimeUnit | Represents a time unit. |