JavaScript Promises in Depth

1h 7m
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.7
1416
people completed
Bookmark
Download
RSS

ES2015 brought a native Promise to the JavaScript standard library. In this course, we’re going to take an in-depth look at how to use promises to model various kinds of asynchronous operations.

First, we’re going to explore how to create promises using the Promise constructor or the Promise.resolve() or Promise.reject() methods. Then, we’re going to see how to chain promises together using .then(), .catch(), and .finally(). We’re going to compare various error handling strategies along the way. We’re going to wrap up this course by taking a look at how to deal with multiple promises using Promise.all() and Promise.race() and how to await a promise using the await operator.

Instructor

Marius Schulz

Front End Engineer at Facebook. Microsoft MVP. Passionate about all things web!

Credits

Aleksander Ageev (illustration)

Course content (13 lessons)

    illustration for JavaScript Promises in Depth