v0.2.0 · Interface
monotonic-clock
WASI Monotonic Clock is a clock API intended to let users measure elapsed time. It is intended to be portable at least between Unix-family platforms and Windows. A monotonic clock is a clock which has an unspecified initial value, and successive reads of the clock will produce non-decreasing values. It is intended for measuring elapsed time.
Functions
F
now
FRead the current value of the clock.
resolution
FQuery the resolution of the clock. Returns the duration of time
subscribe-instant
FCreate a <code>pollable</code> which will resolve once the specified instant
subscribe-duration
Create a <code>pollable</code> which will resolve once the given duration has