Asynchronous Code in Express Course (How To)
Offered By: Treehouse
Course Description
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
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