Bookmarks

Don't Sleep on AbortController

Go to link: Don't Sleep on AbortController

Well written article on AbortController superpowers.

If you are creating libraries in JavaScript where aborting or cancelling operations makes sense, I highly encourage you to look no further than the AbortController API. It’s incredible! And if you are building applications, you can utilize the abort controller to a great effect when you need to cancel requests, remove event listeners, abort streams, or teach any logic to be abortable.

16:43 (+0100)