programming event driven in node.js

  • Event Loop in Node.js

    Event Loop in Node.js

    node.js is a single thread application, but it supports concurrent processing through event definitions and callbacks. as all node.js apis are asynchronous and single threaded, it uses the async function to maintain concurrency. node.js uses the pattern observer.