poor-mans-cancelable-fetch
kandi X-RAY | poor-mans-cancelable-fetch Summary
kandi X-RAY | poor-mans-cancelable-fetch Summary
poor-mans-cancelable-fetch
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of poor-mans-cancelable-fetch
poor-mans-cancelable-fetch Key Features
poor-mans-cancelable-fetch Examples and Code Snippets
Community Discussions
Trending Discussions on poor-mans-cancelable-fetch
QUESTION
I've been using the new fetch API instead of the old XMLHttpRequest
It is great but I am missing one crucial function, xhr.abort().
I can't find any information about that functionality for fetch.
Thanks.
UPDATE: hacky workaround for aborting fetch https://github.com/Morantron/poor-mans-cancelable-fetch
Basically you start the fetch in a web worker and cancel the web worker to abort the fetch
...ANSWER
Answered 2017-Feb-02 at 08:00Its still an open issue All relevant discussion can be found here
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install poor-mans-cancelable-fetch
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page