Comment Comment by explaininjs If you’re fine with manually checking a standard interface to see if you should abort, JS’s answer is the AbortController. This is supported by features like the “fetch” function for making cancellable http requests.https://developer.mozilla.org/en-US/docs/Web/API/AbortContro... parent explaininjs 2 years ago
https://developer.mozilla.org/en-US/docs/Web/API/AbortContro...