async-stream-emitter
Advanced tools
Comparing version 4.0.0 to 4.1.0
@@ -35,2 +35,10 @@ const StreamDemux = require('stream-demux'); | ||
AsyncStreamEmitter.prototype.getListenerConsumerCount = function (eventName) { | ||
return this._listenerDemux.getConsumerCount(eventName); | ||
}; | ||
AsyncStreamEmitter.prototype.getAllListenersConsumerCount = function () { | ||
return this._listenerDemux.getConsumerCountAll(); | ||
}; | ||
AsyncStreamEmitter.prototype.killListener = function (eventName) { | ||
@@ -37,0 +45,0 @@ this._listenerDemux.kill(eventName); |
{ | ||
"name": "async-stream-emitter", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "An alternantive to EventEmitter using consumable streams.", | ||
@@ -45,4 +45,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"stream-demux": "^8.0.0" | ||
"stream-demux": "^8.1.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34275
696
Updatedstream-demux@^8.1.0