zloirock/core-js

`AbortController` and `AbortSignal`

Open

#445 建立於 2018年10月23日

在 GitHub 查看
 (12 留言) (3 反應) (0 負責人)JavaScript (23,771 star) (1,609 fork)batch import
enhancementhelp wantedweb standards

描述

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

貢獻者指南