Function Reactor.suspendCurrentFiber

Suspend the current fiber

void suspendCurrentFiber (
  Timeout timeout
) @nogc @trusted;

void suspendCurrentFiber () @nogc @safe;

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.