on-first

Attach an EventEmitter listener that emits before all other existing listeners

on-first

Attach an EventEmitter listener that emits before all other existing listeners for that event.

  • emitter is the EventEmitter to listen to.
  • event is the event to listen to.
  • listener is the event callback.

MIT. See LICENSE.md for details.