A nodejs event emitter implementation with namespaces, wildcards, TTL, works in the browser
EventEmitter2
instead of EventEmitter2.emitter
. @gitawegoremoveAllListeners
can take an array. @gitawegoAdded
option to emit name of event that causes memory leak warning. @kwiateusz
Fixed
component.json and bower.json got updated with latest version. @kwiateusz missing globals in test suite got added in. @kwiateusz
onAny
now takes the event
that's being emitted as the first argument.removeListener
and removeListenerAny
events to compliment newListener
and newListenerAny
emitAsync
event. Emits event and processes results of all listeners with Promise.all