estate
aggregate multiple event emitter events + data onto a single event emitter that emits data events on change.
var es = ee1 = ee2 = es ee1 es ee2 es ee1 // since "one" and "two" are undefined, it'll clear those states
API
es.listen(emitter, eventName, ['list', 'of', 'bindings']) -> es
listen to an emitter
on eventName
. when that emitter emits that event name,
it will update the state object. the state object will then emit a 'data'
event
containing the current state.
License
MIT