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)
    struct Reactor
    @trusted @nogc
    void
    suspendCurrentFiber
  2. void suspendCurrentFiber()

Meta