Skip to content

Glossary: Node.js Basics

Blocking the event loop

Also written: blocks the event loop, blocking

Running a long calculation so Node can't run anything else, not even timers, until it ends. Waiting for I/O is fine, but long loops are not.

Where the book teaches it

Related terms

Event loopNon-blocking I/O