Asynchronous JavaScript with async/await
Course on egghead by Marius Schulz
- 18 min
- LengthVideo runtime
- Subscription
- Price modelegghead plan
- 8
- Lessons
- 4.7
- Rating out of 5106 ratings on egghead
- May 2017
- Published3 May 2017
About this course
In this course we will learn how to use the ES2017 async and await keywords to write asynchronous code that is more readable and easier to follow than equivalent code based on long promise chains or deeply nested callbacks. The await operator takes a promise and then pauses the function execution until that promise is settled which allows for an async function to read like sequential synchronous code. This course will start by showing us how to convert a function doing a simple HTTP request into an async function using async/await. By the end of the course we will be able to loop over asynchronous data sources using a for-await-of async generator function.
What it covers
- 1Write an Asynchronous Function with async/await
- 2Call an Asynchronous Function in a Promise Chain
- 3Convert Any Function into an Asynchronous Function
- 4Handle Errors in Asynchronous Functions
- 5Await Multiple Promises Sequentially or Concurrently
- 6Await Multiple Promises Concurrently with Promise.all()
- 7Use the await Operator with Any Thenable
- 8Iterate Asynchronously with the for-await-of Loop
Similar JavaScript courses
Same topic, nearest in length, up to three from any one provider.
Data read from the egghead catalogue on 28 Nov 2026. How the data is collected.