Build with Chrome Learn how Chrome works, participate in origin trials, and build with Chrome everywhere.
Asynchronous APIs frequently need to provide the user with some way to cancel long running or expensive operations. Some examples: A browser HTTP fetch API needs to allow the user to cancel network operations if the current request is no longer required by the user interface. A database access API needs to allow the user to cancel a long-running query when the client no longer needs the results of
Canceled as the third state This document outlines why I think it's important for cancelation to be represented as a third promise state, alongside fulfillment and rejection. It's important to note that the discussions here are independent of how the promise gets canceled, whether via the "cancelable promise" approach or the "cancel token" approach. The question is more about once a promise gets c
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く