FiberScheduler.cancelTask

bool cancelTask(size_t taskId) @safe

Cancel a task by its ID.

Parameters

taskIdThe task's unique identifier.

Returns

true if the task was found and cancelled.