06 May 2024
22m

765: JS Promises Fundamentals - Part 1

Podcast cover

Syntax - Tasty Web Development Treats

This podcast episode explores the concept of promises in JavaScript and their advantages in managing asynchronous work. It discusses the use of promises as a primitive in the language, introducing deferreds as a new addition to promises. The section explains how promises are resolved or rejected and different ways to create promises using new syntax or async/await. It highlights the benefits of async functions and discusses different methods of handling promises, including the then method and the async/await API. The episode concludes by mentioning upcoming topics, such as canceling promises, promise helpers, and error handling strategies.

Outlines

Sign in to continue reading, translating and more.

Continue
 
mindmap screenshot
Preview
preview episode cover
How to Get Rich: Every EpisodeNaval