What is the Node.js Event Loop?

you hear a lot about this at a high level..but confused on how it actually makes Node AMAZING to work with? any good explanations?


Answers

R
Ruth_MacGyver

it's really a libuv epoll loop (linux) kqueu (mac)

V
Vivianne77

it's implemented by a lower level C library called libuv. This library runs a while loop and checks for blocking i/o to finish all while running a single thread that continuously executes callbacks based on the synchronous code from your JS app fueling the call stack and the lower level libraries completing operations.