continueWithTask

Adds an Task-based continuation to this task that will be scheduled using the executor, returning a new task that completes after the task returned by the continuation has completed.


Adds an asynchronous continuation to this task, returning a new task that completes after the task returned by the continuation has completed.