FiberTimerEvent.wait

Sets the timer to a number of seconds and milliseconds approximating the floating point value specified, registers it, and suspends the fiber until it fires.

  1. void wait(double s)
    class FiberTimerEvent
    void
    wait
    (
    double s
    )
  2. void wait(uint s, uint ms)

Parameters

s double

number of seconds to suspend fiber for

In: s must be at least 0, which implies it must not be NaN. +∞ is tolerated and uses the highest possible timer value.

Meta