Project

Refactoring JavaScript Promises with Async/Await

Course info
Level
Beginner
Updated
Duration
4h
Table of contents
Setup
1h
Simulate a Fetch Call with setTimeout()
10m
Fetching Movies with a Traditional Promise
30m
Run Multiple Promises with Promise.all() and Promise.race()
45m
Make Async/Await Version of fetchMovies()
15m
Make Async/Await Version of fetchBooks()
10m
Create Async versions for Promise.all() and Promise.race()
45m
Enable Error Handling
15m
Creating and Clearing Timers
10m
Description
Course info
Level
Beginner
Updated
Duration
4h
Description

In this project, you'll learn how to refactor traditional javascript promises into promises using async/await. You'll also learn how to use Promise.all() and Promise.race() successfully.

About the author
About the author

Software engineer in Chicago with 10+ years of experience working Javascript applications on both the client side and the server side.

More from the author
Javascript Generators and Iterators
Intermediate
1h 25m
Dec 31, 2019