Async Functions and Await
Write readable asynchronous flows, preserve concurrency, and handle rejection at a useful boundary.
Lesson introduction
An async function always returns a Promise. await suspends that function until settlement while the runtime continues other work.
Where this fits
This lesson builds one part of the path from language fundamentals to complete browser applications.
What you will build
Implement sequential and concurrent workflows, then explain why their start times differ.
You will first study the underlying rule, then trace worked code, repair a mistake, and create an independent solution.