3 ms·
This is outdated, all modern browsers support fetch cancellation, look up `init.signal`. it wasn't available from the start, but at this point it's supported ev
by TheAceOfHearts 4y ago
This is outdated, all modern browsers support fetch cancellation, look up `init.signal`. it wasn't available from the start, but at this point it's supported everywhere.
- mbg721 4y ago"Fetch cancellation" is where the browser tells itself "Stop trying to make 'fetch' happen," right?
- TheAceOfHearts 4y ago> Browsers have started to add experimental support for the AbortController and AbortSignal interfaces (aka The Abort API), which allow operations like Fetch and XHR to be aborted if they have not already completed. See the interface pages for more details. https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API#aborting_a_fetch https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API#a...