0.5.9 • Published 5 years ago

@bestyled/contrib-event-emitter v0.5.9

Weekly downloads
8
License
MIT
Repository
github
Last release
5 years ago

@bestyled/contrib-event-emitter

A simpler event emitter for the browser

Features include:

  • Event subscriptions return a Disposable object with dispose() method to unsubscribe from event.
  • Group event subscriptions using DisposablesComposite and dispose them all with one call, i.e DisposableComposite#dispose()
  • Listeners voice matters!! You can now dispatch an event using EventEmitter#emithWithReturn where each listener's return value can be accessed from returned array.

Motivation

Forked from Notificar

  • Included as a core dependency of bestyled directly in the mono repository
  • Transpiled to typescript
  • Standard to standard verbs on, emit instead of add, dispatch

License

MIT

0.5.8

5 years ago

0.5.7

5 years ago

0.5.9

5 years ago

0.5.6

5 years ago

0.5.5

5 years ago

0.5.3

6 years ago

0.5.2

6 years ago