Create a new task handler for a group of tasks
The tasks to execute
Optional
options: TaskOptions<U>The options for the task
Optional
atLeastOne: booleanIf at least one task must succeed to consider the group as successful execution, in other case, all the tasks must succeed
Readonly
createdDate when the task was created
Readonly
priorityTask priority
Readonly
taskTask identifier, defined by the user
Readonly
uuidUnique task identification, unique for each task
Readonly
weightTask weight
Register an event listener over the done
event, which is emitted when a task has ended, either
due to completion or failure.
done
event
Done event handler
Removes the specified listener from the listener array for the done
event.
done
event
Done event handler
Register an event listener over the done
event, which is emitted when a task has ended, either
due to completion or failure.
done
event
Done event handler
Registers a one-time event listener over the done
event, which is emitted when a task has
ended, either due to completion or failure.
done
event
Done event handler
Registers a event listener over the done
event, at the beginning of the listeners array,
which is emitted when a task has ended, either due to completion or failure.
done
event
Done event handler
Registers a one-time event listener over the done
event, at the beginning of the listeners
array, which is emitted when a task has ended, either due to completion or failure.
done
event
Done event handler
Removes the specified listener from the listener array for the done
event.
done
event
Done event handler
Represents the task handler