TaskHandle.isValid

bool isValid() @property const pure @safe nothrow @nogc

Check if this handle refers to a valid task.

Returns

true if the handle is associated with a scheduler.