Open
Description
关于如何取消 fetch,曾有过许多讨论,也有很多的方案被提出来。
- 最初的讨论:Aborting a fetch whatwg/fetch#27
- Cancelable promise 的方案被否了:Potential security issues when applied to fetch() tc39/proposal-cancelable-promises#4
- 其它方案继续讨论:Aborting a fetch: The Next Generation whatwg/fetch#447
- 讨论出的提案:Aborting a fetch: The Next Generation whatwg/fetch#447 (comment)
- whatwg 最终给出的标准:https://dom.spec.whatwg.org/#dom-abortcontroller-abortcontroller
- MDN 使用文档:https://developer.mozilla.org/en-US/docs/Web/API/AbortController/AbortController
Metadata
Metadata
Assignees
Labels
No labels