-
public interface Continuation<TTaskResult, TContinuationResult>A function to be called after a task completes.
If you wish to have the Task from a Continuation that does not return a Task be cancelled then throw a java.util.concurrent.CancellationException from the Continuation.
-
-
Method Summary
Modifier and Type Method Description abstract TContinuationResultthen(@NonNull() Task<TTaskResult> task)-
-
Method Detail
-
then
@Nullable() abstract TContinuationResult then(@NonNull() Task<TTaskResult> task)
-
-
-
-