FiberTimerEvent.wait

Sets the timer to the specified number of seconds and milliseconds, registers it, and suspends the fiber until it fires. If both seconds and milliseconds are 0, the fiber is not suspended and the event is not registered with epoll -- no pause occurs.

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

Parameters

s uint

number of seconds to suspend fiber for

ms uint

number of additional milliseconds to suspend fiber for

Meta