public interface Continuation<TTaskResult,TContinuationResult>
If you wish to have the Task from a Continuation that does not return a Task be cancelled then
throw a CancellationException from the Continuation.
Task| Modifier and Type | Method and Description |
|---|---|
TContinuationResult |
then(Task<TTaskResult> task) |
TContinuationResult then(Task<TTaskResult> task) throws java.lang.Exception
java.lang.Exception