Function

now

Read the current value of the clock.

The clock is monotonic, therefore calling this function repeatedly will produce a sequence of non-decreasing values.

For completeness, this function traps if it's not possible to represent the value of the clock in an instant. Consequently, implementations should ensure that the starting time is low enough to avoid the possibility of overflow in practice.

now: func() -> instant;