Reactor.suspendCurrentFiber

Suspend the current fiber

If timeout is given and expires, the suspend will throw a TimeoutExpired exception.

You are heartily encouraged not to use this function directly. In almost all cases, it is better to use one of the synchronization primitives instead.

  1. void suspendCurrentFiber(Timeout timeout)
  2. void suspendCurrentFiber()
    struct Reactor
    @safe @nogc
    void
    suspendCurrentFiber
    ()

Meta