Fiber.getThis

Provides a reference to the calling fiber or null if no fiber is currently active.

class Fiber
static @safe nothrow @nogc
getThis
()

Return Value

Type: Fiber

The fiber object representing the calling fiber or null if no fiber is currently active within this thread. The result of deleting this object is undefined.

Meta