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
Software as a ServiceUniversity of California, Berkeley via Coursera Intro to Computer Science
University of Virginia via Udacity Web Development
Udacity Software Engineering for SaaS
University of California, Berkeley via Coursera CS50's Introduction to Computer Science
Harvard University via edX