Fiber.yieldAndThrow

Forces a context switch to occur away from the calling fiber and then throws obj in the calling fiber.

class Fiber
static nothrow @nogc
void
yieldAndThrow

Parameters

t Throwable

The object to throw.

In: t must not be null.

Meta