Royi Mindel Royi Mindel - 4 years ago 427
Javascript Question

How to abort a fetch request?

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.

Answer Source

Its still an open issue All relevant discussion can be found here

https://github.com/whatwg/fetch/issues/447 :(

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download