Don’t Sleep on AbortController
October 4, 2024
Today, I’d like to talk about one of the standard JavaScript APIs you are likely sleeping on. It’s called AbortController.What is AbortController?AbortController is a global class in JavaScript that you can use to abort, well, anything!Here’s how you use it:
JavaScript (and CSS and the Web platform) are full of features that aren’t well known but which are really useful, like the AbortController, which Artem Zakharchenko describes here.