Skip to content
JS

Asynchronous JavaScript with async/await

Course on egghead by Marius Schulz

View on egghead (opens in a new tab)
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

Description from egghead

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

8 lessons
  1. 1Write an Asynchronous Function with async/await
  2. 2Call an Asynchronous Function in a Promise Chain
  3. 3Convert Any Function into an Asynchronous Function
  4. 4Handle Errors in Asynchronous Functions
  5. 5Await Multiple Promises Sequentially or Concurrently
  6. 6Await Multiple Promises Concurrently with Promise.all()
  7. 7Use the await Operator with Any Thenable
  8. 8Iterate Asynchronously with the for-await-of Loop

Similar JavaScript courses

  1. Understand JavaScript's this Keyword in Depth

    egghead · Marius Schulz · 8 lessons · 4.7 from 80 ratings · Dec 2017

    18 minSubscription
    egghead84.7 (80)Dec 2017
  2. Write simple asynchronous code with JavaScript generators

    egghead · Max Stoiber · 6 lessons · 4.6 from 79 ratings · Mar 2017

    16 minSubscription
    egghead64.6 (79)Mar 2017
  3. Advanced Logging with the JavaScript Console

    egghead · mykola bilokonsky · 7 lessons · 4.7 from 25 ratings · May 2016

    22 minSubscription
    egghead74.7 (25)May 2016
  4. Beginner40 minSubscription
    Educative10Nov 2024
  5. Beginner1 h
    CourseraOct 2020
  6. How to Deploy a Website

    Codecademy · 3 lessons · Apr 2018

    Beginner1 h
    Codecademy3Apr 2018
  7. Beginner1 h
    CourseraMay 2024
  8. Beginner1 h
    Codecademy2Nov 2018

A hyphen means the provider's catalogue does not state the value.

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.

    Compare