Function FiberQueueImpl.suspend

Suspends the current fiber until it is awoken.

void suspend (
  Timeout timeout = Timeout.infinite
) @nogc @safe;

Parameters

NameDescription
timeout How long to wait.

Throws

TimeoutExpired if the timeout expires.

Anything else if someone calls Reactor.throwInFiber