Asynchronous Code in Express Course

Go to class
Write Review

Free Online Course: Asynchronous Code in Express Course provided by Treehouse is a comprehensive online course, which lasts for Less than 1 hour of material. The course is taught in English and is free of charge.

Overview
  • In this course, we’ll look more closely at three approaches to handling asynchronous operations in Express: callbacks, promises, and async/await.

    What you'll learn

    • Using callbacks in Express
    • Using promises in Express
    • Using async/await syntax in Express

Syllabus
  • Asynchronous Code in Express

    Asynchronous programming in JavaScript has evolved rapidly in recent years. Due to this change, handling asynchronous tasks in Express, such as getting information from a database, can be achieved in a variety of ways. Let's take a look at three approaches you can use to handle asynchronous operations in Express: callbacks, promises, and async/await.

    Chevron 6 steps
    • Asynchronous Programming with Express

      2:39

    • Using Callbacks

      5:00

    • Refactor Using Promises

      5:54

    • Refactor Using Async/Await

      3:34

    • Reduce Error Handling Code When Using Async/Await

      3:35

    • Async Code in Express Quiz

      6 questions