Up until recently, I was pretty sure how Node’s Event Loop worked; in fact, I was sure I knew how asynchronous calls were handled.

Recently, thanks to a very interesting talk about this subject by Daniel Khan in last year’s NodeConf, my eyes were opened to the truth. He has a very good explanation in that video, but I decided to go deep into Node’s official documentation about it, and out of that came my own explanation of how this beast known as Event Loop works.

Source: DZone