第一种: Future API 和callbacks · 使用回调,所以仍然需要以异步的方式写代码 · 需要学习各种API的使用方法,如 then 、 catchError 、 whenComplete 等。
確定! 回上一頁