Node.js event loop

After my last job interview, I decided to dive into JavaScript theory. One of the most common topics is the event loop. In the previous post, I briefly described how the event loop works in browsers. But what about Node.js? It has its own event loop to handle multiple requests on a single thread. I ran into some confusion and want to share how I resolved it.

Continue reading →