除了同步与异步之外,它们文档中的差异让我感到困惑。他们github 页面上的示例看起来仍然是同步调用的延续。
continueWith()
Adds a synchronous continuation to this task, returning a new task that completes after the continuation has finished running.
continueWithTask()
Adds an asynchronous continuation to this task, returning a new task that completes after the task returned by the continuation has completed.