You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nowadays the fetch API accepts a signal to cancel the request, being available in edge 16 (2017-10-17), firefox 57 (2017-11-14), chrome 67 (2018-05-29), and later.
How's it going on here?
The text was updated successfully, but these errors were encountered:
letabortController=newAbortController();letsignal=abortController.signal;honoka("http://somewhere",{ signal }).then(res=>{// ...}).catch(e=>{console.log(e);});abortController.abort();
returns:
Uncaught (in promise) DOMException: The user aborted a request.
It works on Chrome 70.0.3538.77, but not on Safari 11.2.1 (macOS High Sierra 10.13.6) (however demo provided by MDN isn't working either...). Tested current version of honoka.
Nowadays the fetch API accepts a signal to cancel the request, being available in edge 16 (2017-10-17), firefox 57 (2017-11-14), chrome 67 (2018-05-29), and later.
How's it going on here?
The text was updated successfully, but these errors were encountered: