Node.js event emitter explained
Node.js core API is based on the asynchronous event-driven architecture in which certain kind of objects called emitters periodically emits events that cause listener objects to be called.
All objects that emit events are members of EventEmitter cla...
saurabhnative.hashnode.dev3 min read