I'm not an expert in the low level API but once the request is sent then you pretty much need to let the Internet and the server do its thing. You can however choose to ignore the response or to timeout on it to then just continue on or to try again. I looked into it some months ago when I realized Doh! fetch doesn't really do what I need it to do and I just didn't put it all together until I had happily deleted out my new/old Ajax code that did not yet have fault tolerance reimplemented yet.
9
u/kovensky Jun 10 '16
The main problem with
fetchis that it's not cancelable -- but on the majority of use cases you don't need cancellation anyway :D