LucidJS
LucidJS copied to clipboard
Is it possible to re-instate the succinct factory method for creating emitters
I find that having a method that takes care of new
ing up an emitter is quite handy as it reduces the Getting started
surface API. The example below is what used to be available but has been removed from the latest release in dist
.
var emitter = LucidJS.emitter();
Will it be possible to get this, or some similar factory back? Just so that users of this library have an alternative to:
var emitter = new LucidJS.EventEmitter();
Not that big a deal, just humbly asking for the option. Thanks for listening.