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 in
void
yieldAndThrow

Parameters

t
Type: Throwable

The object to throw.

In: t must not be null.

Suggestion Box / Bug Report