node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…

async-emitter

Asynchronous, non-blocking EventEmitter

Emitter

Non-blocking event emitter

Install via npm

$ npm install --save async-emitter
  • function Emitter.nextTick
  • boolean Emitter.warn
  • {Emitter} emitter.on( string event, function|object handler )
  • {Emitter} emitter.once( string event, function|object handler )
  • {Boolean} emitter.emit( string event, [arg1], [arg2], [...] )
  • {Boolean} emitter.emitSync( string event, [arg1], [arg2], [...] )
  • {Emitter} emitter.removeListener( string event, function|object handler )
  • {Emitter} emitter.removeAllListeners( string [event] )
  • {Emitter} emitter.setMaxListeners( number value )
  • {Array} emitter.listeners( string event )