Skip to Main Content
Node.js for Beginners
book

Node.js for Beginners

by Ulises Gascón
May 2024
Beginner to intermediate content levelBeginner to intermediate
382 pages
7h 59m
English
Packt Publishing
Content preview from Node.js for Beginners

4

Asynchronous Programming

This chapter will explain in detail how to use all the asynchronous mechanisms that JavaScript offers today, including how to convert callbacks to promises and perform bulk asynchronous operations.

You will gain an in-depth understanding of all the tools at your disposal for managing both simple and complex asynchronous activities. We’ll begin with callbacks following Node.js Core conventions, then progress to effectively handling asynchronous operations using promises, and async/await. Toward the end of the chapter, we’ll employ the Immediately Invoked Function Expression (IIFE) pattern to execute asynchronous code. Additionally, we will provide a comprehensive overview of how to convert asynchronous operations between ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Node.js: Novice to Ninja

Node.js: Novice to Ninja

Craig Buckler
Node.js - The Complete Guide

Node.js - The Complete Guide

Academind by Maximilian Schwarzmüller GmbH
JavaScript from Beginner to Professional

JavaScript from Beginner to Professional

Rob Percival, Laurence Svekis, Maaike van Putten, Codestars By Rob Percival

Publisher Resources

ISBN: 9781803245171Supplemental Content