
technologyMay 20, 202421:05pending
771: Promises: Error Handling, Aborts, and Helper Methods - Part 2
About this episode
We’re diving into part 2 of our 3-part series on Promises, focusing on error handling, aborts, and essential helper methods. We’ll explore how to manage errors effectively and improve performance with abort signals. Let’s get into it!
Show Notes 00:00 Welcome to Syntax!
00:41 Brought to you by Sentry.io.
02:00 Cancelling promises.
05:16 Why would you reach for an abort signal?
06:26 Promise helpers. 07:04 Promise.all() vs Promise.allSettled().
09:12 promiseInstance.finally()
09:26 Promise.any() and Promise.race()
12:08 Error handling strategies. Tuple await-to-js.
Youtube - 5 Async + Await Error Handling Strategies.
17:30 Promise.race() example.
18:54 Static Promise.reject() and .resolve() methods.
Hit us up on Socials! Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads
Scott:X Instagram Tiktok LinkedIn Threads
Randy: X Instagram YouTube Threads
Get every episode summarized
Each time Syntax - Tasty Web Development Treats publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Syntax - Tasty Web Development Treats

995: Next.js Vendor Lock-in No More
Syntax - Tasty Web Development Treats
Apr 13, 20261:04:18failed

994: AI Sucks At CSS
Syntax - Tasty Web Development Treats
Apr 8, 20261:00:16failed

993: It’s Been A Hell Of Week
Syntax - Tasty Web Development Treats
Apr 6, 202638:12failed

992: Migrating Legacy Code Just Got Easier
Syntax - Tasty Web Development Treats
Apr 1, 202629:07failed