FiberScheduler.taskState

TaskState taskState(size_t taskId) @safe

Get the state of a task by its ID.

Parameters

taskIdThe task's unique identifier.

Returns

The current state of the task, or CANCELLED if not found.