7 ms·
theres the AbortController [1] that can be used on a few new promise based APIs such as the Fetch API [2] [1] https://developer.mozilla.org/en-US/docs/Web/API/
by tjallingt 8y ago
theres the AbortController [1] that can be used on a few new promise based APIs such as the Fetch API [2]
[1] https://developer.mozilla.org/en-US/docs/Web/API/AbortController https://developer.mozilla.org/en-US/docs/Web/API/AbortContro...
[2] https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
- TravelTechGuy 8y agoBut there's no easy way to inject this AbortControl into existing libraries, or use it easily with async/await. I'm looking for an easier standard.