What is an EventEmitter in Node.js?

  • EventEmitter is a class that holds all the objects that can emit events
  • Whenever an object from the EventEmitter class throws an event, all attached functions are called upon synchronously
/eventemitter

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *