Fiber.isTerminated

bool isTerminated() const pure nothrow @nogc @safe

Check if the fiber has finished execution (either completed or failed).

Returns

true if the fiber will not execute any more code.