TaskRunRunningListener
The TaskRunRunningListener
type describes a function that is used to listen to changes to a specific task run in the Manager
.
(
manager: Manager,
taskId: Id,
taskRunId: Id,
running: boolean | undefined,
reason: TaskRunReason,
): void
Type | Description | |
---|---|---|
manager | Manager | A reference to the |
taskId | Id | The |
taskRunId | Id | The |
running | boolean | undefined | Whether the task run is now running ( |
reason | TaskRunReason | The reason the task run changed. |
returns | void | This has no return value. |
A TaskRunRunningListener
is provided when using the addTaskRunRunningListener
method. See that method for specific examples.
When called, a TaskRunRunningListener
is given a reference to the Manager
, the Id
of the task, the Id
of the task run that changed, the way in which it changed, and the reason for that change.
Since
v1.2.0