Fiber.getThis

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

class Fiber
static
getThis
@safe nothrow @nogc
(
)

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.

Suggestion Box / Bug Report