R
- the type of result the tasks returnpublic interface TaskScope<R>
TaskScope
defines a common unit of management for tasks sharing a common goal or
purpose. The scope gets notified when one of its tasks has completed or failed.Modifier and Type | Method and Description |
---|---|
void |
taskCompleted(R result)
Receive notification about a task that has been completed without exceptions.
|
void |
taskFailed(Task<R> task,
Throwable reason)
Receive notification about a task that has failed.
|
void taskCompleted(R result)
result
- the task's resultCopyright © 2024 levigo holding gmbh. All rights reserved.