



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An overview of node.js asynchronous programming using callbacks and error handling. It covers the concepts of first-class functions and closures, asynchronous vs synchronous programming, and the event loop in node.js. Learn about long running computations and i/o operations, and how node.js handles callbacks and timers.
Typology: Essays (university)
1 / 5
This page cannot be seen from the preview
Don't miss anything!




Event Loop (single thread) requests File/ Database/ Processing I/O request Callback I/O request completion
timers I/O callbacks idle, prepare poll check close callbacks incoming: connections, data, etc.