Fiber.yieldAndThrow

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

class Fiber
static
void
yieldAndThrow
nothrow @nogc
(
Throwable t
)
in { assert (t); }

Parameters

t
Type: Throwable

The object to throw.

In: t must not be null.

Suggestion Box / Bug Report