Cancellable Promises in JavaScript with Abort Controller
Imagine having the power to pull the plug on JavaScript promises or asynchronous functions midway!
Using JavaScript's AbortController, you can abort fetch requests both on the browser and in Node JS. Furthermore, in Node JS, this feature enables you ...
blog.nixque.com8 min read