⚠️ This lesson is retired and might contain outdated information.

async / await using TypeScript Course Overview

Share this video with your friends

Social Share Links

Send Tweet
Published 7 years ago
Updated 2 years ago

The goal of this course is to give you a solid understanding of how async / await works and how to use it effectively with TypeScript.

To start, we will look at Promise basics and see how .then and .catch are greatly simplified by async / await. We will then look at methods for executing asynchronous code in serial (the default), in parallel (with Promise.all), and Async iteration.

All with the added benefit of code analysis and error checking by TypeScript. Here's a little intro to the course material. I hope you enjoy the course!

Instructor: [00:01] The goal of this async/await using TypeScript course is to help you understand and appreciate how simple asynchronous programing has become, thanks to the runtime features provided by JavaScript, and the compile-time understanding of your code provided by TypeScript.

[00:18] We kick off by taking a basic look at promises. This is because promises are fundamental to async/await. However, we do not add any noise by going deep into promises, as a lot of the complex rules around them, and catch callbacks are greatly simplified by using async/await.

[00:37] After a quick recap of promises, we take a look at how async/await operators interact with promises that might resolve or reject. Finally, we look at a few additional patterns surrounding async/await, such as the default serial execution, parallel control flow using promise.all, along with asynchronous attrition using for-await-of.

[01:13] I'm very excited about the code analysis and error checking offered by TypeScript when doing async/await. I hope you can see how fluidly I can present this material, as I always have TypeScript watching my back and making sure I don't make any simple human mistakes.

[01:31] I can't wait to see what you build with this powerful and reliable combination of TypeScript with async/await.

egghead
egghead

Member comments are a way for members to communicate, interact, and ask questions about a lesson.

The instructor or someone from the community might respond to your question Here are a few basic guidelines to commenting on egghead.io

Be on-Topic

Comments are for discussing a lesson. If you're having a general issue with the website functionality, please contact us at support@egghead.io.

Avoid meta-discussion

  • This was great!
  • This was horrible!
  • I didn't like this because it didn't match my skill level.
  • +1 It will likely be deleted as spam.

Code Problems?

Should be accompanied by code! Codesandbox or Stackblitz provide a way to share code and discuss it in context

Details and Context

Vague question? Vague answer. Any details and context you can provide will lure more interesting answers!

Markdown supported.
Become a member to join the discussionEnroll Today