Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Async Patterns in Node.js

via Pluralsight

Overview

Node.js is built from the ground up to support asynchronous coding patterns. This course will teach you multiple techniques for writing modern, asynchronous JavaScript that helps you deliver fast and responsive Node applications.

Node.js was built to run on a single thread using non-blocking I/O calls. Building apps for this environment requires extensive use of asynchronous code. In this course, Async Patterns in Node.js, you'll learn multiple techniques to write efficient asynchronous code using modern JavaScript. First, you’ll explore how the Node event loop works and how to write asynchronous code with callbacks that adhere to conventions followed in the Node community. Next, you’ll discover how to use Promises and the async/await keywords to write asynchronous code that’s easier to read. Finally, you’ll learn how to write event-driven code with EventEmitters and use worker threads to tackle CPU-intensive tasks in your Node apps. When you’re finished with this course, you’ll have the skills and knowledge of asynchronous programming necessary to build performant Node apps using accepted best practices.

Syllabus

  • Course Overview 1min
  • The Event Loop and the Need for Asynchronous Code 23mins
  • Writing Asynchronous Code with Promises and async/await 30mins
  • Writing Event-driven Code with EventEmitters 18mins
  • Utilizing Worker Threads 13mins

Taught by

Brice Wilson

Reviews

4.9 rating at Pluralsight based on 248 ratings

Start your review of Async Patterns in Node.js

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.