Processes progress events during task execution. All methods are called from the same thread except started
and finished
, which is called from the executing task's thread. All methods should return quickly to avoid task execution overhead.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Abstract methods
All tasks have completed with the final results
provided.
All tasks have completed with the final results
provided.
Attributes
Notifies that task
has completed. The task's work is done with a final result
. Any tasks called by task
have completed.
Notifies that task
has completed. The task's work is done with a final result
. Any tasks called by task
have completed.
Attributes
Notifies that all of the dependencies of task
have completed and task
is therefore ready to run. The task has not been scheduled on a thread yet.
Notifies that all of the dependencies of task
have completed and task
is therefore ready to run. The task has not been scheduled on a thread yet.
Attributes
Notifies that a task
has been registered in the system for execution. The dependencies of task
are allDeps
and the subset of those dependencies that have not completed are pendingDeps
.
Notifies that a task
has been registered in the system for execution. The dependencies of task
are allDeps
and the subset of those dependencies that have not completed are pendingDeps
.
Attributes
Notifies that the work for task
work has finished. The task may have computed the next task to run, in which case result
contains that next task wrapped in Left. If the task produced a value or terminated abnormally, result
provides that outcome wrapped in Right. The ultimate result of a task is provided to the completed
method. This is called from the thread the task executes on, unlike most other methods in this callback. It is immediately called after the task's work is complete with minimal intervening executor overhead.
Notifies that the work for task
work has finished. The task may have computed the next task to run, in which case result
contains that next task wrapped in Left. If the task produced a value or terminated abnormally, result
provides that outcome wrapped in Right. The ultimate result of a task is provided to the completed
method. This is called from the thread the task executes on, unlike most other methods in this callback. It is immediately called after the task's work is complete with minimal intervening executor overhead.
Attributes
Notifies that the work for task
is starting after this call returns. This is called from the thread the task executes on, unlike most other methods in this callback. It is called immediately before the task's work starts with minimal intervening executor overhead.
Notifies that the work for task
is starting after this call returns. This is called from the thread the task executes on, unlike most other methods in this callback. It is called immediately before the task's work starts with minimal intervening executor overhead.
Attributes
Notifies that either all tasks have finished or cancelled.
Notifies that either all tasks have finished or cancelled.