Please explain what is Event Loop?

Submitted by: Muhammad
Node.js is a single threaded application but it support concurrency via concept of event and callbacks. As every API of Node js are asynchronous and being a single thread, it uses async function calls to maintain the concurrency. Node uses observer pattern. Node thread keeps an event loop and whenever any task get completed, it fires the corresponding event which signals the event listener function to get executed.
Submitted by: Muhammad

Read Online Full Stack Developer (Java) Job Interview Questions And Answers