Simple and modern async event emitter
OmnipresentEventData
type (#93) 3e5bd10 2725900https://github.com/sindresorhus/emittery/compare/v0.10.0...v0.10.1
.on()
(#84) c4c11e4https://github.com/sindresorhus/emittery/compare/v0.9.2...v0.10.0
https://github.com/sindresorhus/emittery/compare/v0.9.1...v0.9.2
https://github.com/sindresorhus/emittery/compare/v0.9.0...v0.9.1
https://github.com/sindresorhus/emittery/compare/v0.8.1...v0.9.0
.events()
(#74) 53caa07p-event
package (#73) 30093fdhttps://github.com/sindresorhus/emittery/compare/v0.8.0...v0.8.1
.Typed
types into the main TypeScript types (#69) df35ea6Migrate:
-const emitter = new Emittery.Typed<{value: string}, 'open' | 'close'>();
+const emitter = new Emittery<
+ {
+ value: string,
+ open: undefined,
+ close: undefined
+ }
+>();
https://github.com/sindresorhus/emittery/compare/v0.7.2...v0.8.0
symbol
to Emittery.mixin
's emitteryPropertyName
types (#65) 3c65ac5https://github.com/sindresorhus/emittery/compare/v0.7.1...v0.7.2
https://github.com/sindresorhus/emittery/compare/v0.7.0...v0.7.1
.emit()
doesn't return a value (#56) 5e13246https://github.com/sindresorhus/emittery/compare/v0.6.0...v0.7.0