TaskHandle.id

size_t id() @property const pure @safe nothrow @nogc

Get the unique identifier for this task.

Returns

The task's unique ID within the scheduler.