Ga offline met de app Player FM !
771: Promises: Error Handling, Aborts, and Helper Methods - Part 2
Manage episode 419209950 series 1469447
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.
- 12:08 Error handling strategies.
- 17:30 Promise.race() example.
- 18:54 Static Promise.reject() and .resolve() methods.
Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads
779 afleveringen
Manage episode 419209950 series 1469447
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.
- 12:08 Error handling strategies.
- 17:30 Promise.race() example.
- 18:54 Static Promise.reject() and .resolve() methods.
Syntax: X Instagram Tiktok LinkedIn Threads
Wes: X Instagram Tiktok LinkedIn Threads
779 afleveringen
Minden epizód
×Welkom op Player FM!
Player FM scant het web op podcasts van hoge kwaliteit waarvan u nu kunt genieten. Het is de beste podcast-app en werkt op Android, iPhone en internet. Aanmelden om abonnementen op verschillende apparaten te synchroniseren.