Asynchronous JavaScript with async/await
Offered By: egghead.io
Course Description
Overview
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.
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.
Syllabus
- Write an Asynchronous Function with async/await
- Call an Asynchronous Function in a Promise Chain
- Convert Any Function into an Asynchronous Function
- Handle Errors in Asynchronous Functions
- Await Multiple Promises Sequentially or Concurrently
- Await Multiple Promises Concurrently with Promise.all()
- Use the await Operator with Any Thenable
- Iterate Asynchronously with the for-await-of Loop
Taught by
Marius Schulz
Related Courses
Programming LanguagesUniversity of Virginia via Udacity Building a Basic Website
University of Massachusetts Amherst via Independent iDESWEB, Introducción al desarrollo web
MirÃadax Web Engineering II: Developing Mobile HTML5 Apps
Technische Hochschule Mittelhessen via iversity Web Application Architectures
University of New Mexico via Coursera