ES2015 implementation of nodejs EventEmitter
npm install events2
What's different from core EventEmitter?
This is an alias for core
emitter.removeAllListeners. Removes all listeners, or those of the specified event, or specified listener.
as a result – no
As event listeners storage is a
Set(), if you add same listener for same
'event' repeatedly, listener will be called only once after
'event' was emited (listener will be called as many times as it was added in nodejs core EventEmitter)