Module wasi::clocks::monotonic_clock

source ·

Functions§

  • Read the current value of the clock.
  • Query the resolution of the clock. Returns the duration of time corresponding to a clock tick.
  • Create a pollable which will resolve once the given duration has elapsed, starting at the time at which this function was called. occured.
  • Create a pollable which will resolve once the specified instant occured.

Type Aliases§

  • A duration of time, in nanoseconds.
  • An instant in time, in nanoseconds. An instant is relative to an unspecified initial value, and can only be compared to instances from the same monotonic-clock.