stream-demux
Advanced tools
Comparing version 8.0.0 to 8.1.0
@@ -115,2 +115,10 @@ const WritableConsumableStream = require('writable-consumable-stream'); | ||
getConsumerCount(streamName) { | ||
return this.getConsumerStatsList(streamName).length; | ||
} | ||
getConsumerCountAll() { | ||
return this.getConsumerStatsListAll().length; | ||
} | ||
createConsumer(streamName, timeout) { | ||
@@ -117,0 +125,0 @@ let mainStreamConsumer = this._mainStream.createConsumer(timeout); |
{ | ||
"name": "stream-demux", | ||
"version": "8.0.0", | ||
"version": "8.1.0", | ||
"description": "A consumable stream demultiplexer.", | ||
@@ -32,4 +32,4 @@ "main": "index.js", | ||
"consumable-stream": "^2.0.0", | ||
"writable-consumable-stream": "^2.0.0" | ||
"writable-consumable-stream": "^3.0.1" | ||
} | ||
} |
@@ -46,3 +46,3 @@ # stream-demux | ||
// createConsumer(n) method to force the iteration to | ||
// timeout after n milliseconds of innactivity. | ||
// timeout after n milliseconds of inactivity. | ||
let consumer = demux.stream('def').createConsumer(); | ||
@@ -49,0 +49,0 @@ while (true) { |
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
30994
739
+ Addedwritable-consumable-stream@3.0.1(transitive)
- Removedwritable-consumable-stream@2.0.0(transitive)