V
- The type of resultpublic interface ITaskResultProcessor<V>
Modifier and Type | Method and Description |
---|---|
void |
onResult(ITaskWrapper task,
V result)
Action to take if the task returns a result.
|
void |
onThrowable(ITaskWrapper task,
Throwable t)
Action to take if the task throws an exception.
|
void onThrowable(ITaskWrapper task, Throwable t)
task
- The task executedt
- The resultvoid onResult(ITaskWrapper task, V result)
task
- The task executedresult
- The resultCopyright © 2016. All Rights Reserved.