4min chapter

JS Party: JavaScript, CSS, Web Development cover image

JS logging & error handling

JS Party: JavaScript, CSS, Web Development

CHAPTER

Using Boart Signals in Concurrent Programming

The first version of promises did not have a boart signals built in. The way they end up working looks a lot like manually returning error codes. But you kind of have to know about them and then fix them, or else you're going to have problems with your promised code. Aboart signals are basically like a duel of an ception. And so where this would be useful as if you had like, a long running promise or some other task that needs to be cancelled. So the abort controller, you can fire a signal that cancels the abort signal that is associated to that abort controller.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode