Simple and modern async event emitter
MIT License
Bot releases are visible (Hide)
p-event
(#115) 2eea7f7https://github.com/sindresorhus/emittery/compare/v1.0.2...v1.0.3
emitter.listenerCount()
for symbol keys fad52b9https://github.com/sindresorhus/emittery/compare/v1.0.1...v1.0.2
globalThis.process
conflict in the browser (#107) 5133d6fhttps://github.com/sindresorhus/emittery/compare/v1.0.0...v1.0.1
Emittery.
are now named exports.https://github.com/sindresorhus/emittery/compare/v0.13.1...v1.0.0
https://github.com/sindresorhus/emittery/compare/v0.13.0...v0.13.1
https://github.com/sindresorhus/emittery/compare/v0.12.1...v0.13.0
https://github.com/sindresorhus/emittery/compare/v0.12.0...v0.12.1
off
method to the promise returned from .once()
(#100) e0b4ba7Emittery.mixin
type support arguments in constructor 32ddcbehttps://github.com/sindresorhus/emittery/compare/v0.11.0...v0.12.0
https://github.com/sindresorhus/emittery/compare/v0.10.2...v0.11.0
https://github.com/sindresorhus/emittery/compare/v0.10.1...v0.10.2
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