zloirock/core-js

`AbortController` and `AbortSignal`

開放

#445 建立於 2018年10月23日

 (12 則留言) (3 個反應) (0 位負責人)JavaScript (1,609 個分叉)batch import
enhancementhelp wantedweb standards

倉庫指標

星標
 (23,771 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

I searched on the issue tracker and repo but didn't find anything about it, are there any plans to add a polyfill for AbortController and AbortSignal? It's primary purpose is to be able to cancel fetch requests, but can also be used manually as a standard mechanism for cancelling promises or any kind of async behavior.

The final version of AbortController has been added to the DOM specification The corresponding PR for the fetch specification is now merged. Browser bugs tracking the implementation of AbortController is available here: Firefox: #1378342, Chromium: #750599, WebKit: #174980, Edge: #13009916.

Current browser support: https://www.caniuse.com/#feat=abortcontroller

貢獻者指南