Events.taskStarted

Called when a task has started. Returns a new event handler for tasks.

interface Events
void
taskStarted
(
size_t worker
,
const ref Task task
)

Parameters

worker size_t

The node on which the task is running. This is guaranteed to be between 0 and the size of the task pool.

task Task

The task itself.

Meta