Proposal to add EventEmitter to core [ES7]
aakarsh1997 at gmail.com
Sun May 31 16:46:48 UTC 2015
I propose the inclusion of the node/io EventEmitter class in core
The .on/.emit model is very popular in the ECMAScript land, and it suits
the language a lot. We use events pretty much everywhere in the JS land.
It makes sense for the standard EventEmitter class used commonly to be
included in core. With ES6 classes, userland code classes extending the
EventEmitter class would be pretty common and useful even in environments
I think the `.once` method from the node/io EventEmitter class _could_ be
left out from standard implementation mainly because we would rather use
Promises there. Although it would also make sense to keep it in for further
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss