Skip to content

Reading: Event Driven Applications

Jacob-Wendt edited this page Jun 13, 2019 · 1 revision

Event Emitter

  • Emitters periodically emit events that cause listener objects to be called.
  • All objects that emit events are members of EventEmitter class.
  • These objects expose an eventEmitter.on()
  • By default, all listeners attached to a particular event object are called by the EventListener object synchronously in the order in which they are registered or attached to the event object.

Event-Driven Programming

  • Logical pattern that we can choose to confine our programming within to avoid issues of complexity and collision.

Clone this wiki locally