Eventable

cocktail-trait-eventable

traits talents
June 01, 2014

Eventable provides a trait to use an Emitter as a delegate. It exposes the event emitter api as part of the host class or module. It uses a given Emitter instance through a required method getEmitter to register listeners and emit events.

$ npm install cocktail-trait-eventable --save

Check the Github Repository for this extension.
comments powered by Disqus