Categories
Node.js Videos

Talk: Improving your applications with AbortController

< 1 min read

This is a recording of a talk I gave at NodeConf Remote 2021 on October 19th 2021.

Have you ever wanted to stop an asynchronous task in Node.js? Maybe you needed to cancel an HTTP request, or stop writing to a stream. You probably discovered it was difficult to do without writing some hacky code. Even worse, not being able to properly cancel that task can cause performance and stability issues in your application.

The Web Platform APIs introduced AbortController and AbortSignal to help solve this problem. They allow us to cancel asynchronous tasks in a safe and consistent way, and now they’re available in Node.js too!

Let’s learn how we can use AbortController to build better applications with Node.js.

🧑‍💻 View the code examples

📽️ View the talk slides

Related articles

Leave a Reply

Your email address will not be published. Required fields are marked *