Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

JavaScript Promises and Async-Await Tutorial

Hussein Nasser via YouTube

Overview

Learn about JavaScript Promises and async/await in this comprehensive tutorial video. Explore the evolution of asynchronous programming in JavaScript, starting with callbacks and progressing to modern Promises and async/await syntax. Discover how Promises enable non-blocking asynchronous operations, particularly useful for network requests and timers. Follow along as the instructor demonstrates practical examples, including using http-server and PostgreSQL with JavaScript. Gain insights into the differences between asynchronous and synchronous programming, and learn how to implement error handling with then/catch blocks and the finally clause. Access the provided source code to practice and reinforce your understanding of these essential JavaScript concepts.

Syllabus

Intro
callback
reference http-server
promises then catch
finally
postgres javascript
async await
async vs sync

Taught by

Hussein Nasser

Reviews

Start your review of JavaScript Promises and Async-Await Tutorial

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.