zloirock/core-js

`AbortController` and `AbortSignal`

Open

#445 opened on 2018年10月23日

GitHub で見る
 (12 comments) (3 reactions) (0 assignees)JavaScript (1,609 forks)batch import
enhancementhelp wantedweb standards

Repository metrics

Stars
 (23,771 stars)
PR merge metrics
 (30d に merged 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

コントリビューターガイド