Package 

Interface Continuation


  • 
    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 TContinuationResult then(@NonNull() Task<TTaskResult> task)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait