FiberQueueImpl.suspend

Suspends the current fiber until it is awoken.

struct FiberQueueImpl(bool Volatile)
@safe @nogc
void
suspend

Parameters

timeout Timeout

How long to wait.

Throws

TimeoutExpired if the timeout expires.

Anything else if someone calls Reactor.throwInFiber

Meta