stream-demux
Advanced tools
Comparing version 4.0.3 to 4.0.4
14
index.js
@@ -1,3 +0,3 @@ | ||
const AsyncIterableStream = require('async-iterable-stream'); | ||
const WritableAsyncIterableStream = require('writable-async-iterable-stream'); | ||
const DemuxedAsyncIterableStream = require('./demuxed-async-iterable-stream'); | ||
@@ -50,14 +50,2 @@ class StreamDemux { | ||
class DemuxedAsyncIterableStream extends AsyncIterableStream { | ||
constructor(streamDemux, name) { | ||
super(); | ||
this.name = name; | ||
this._streamDemux = streamDemux; | ||
} | ||
createAsyncIterator(timeout) { | ||
return this._streamDemux.createAsyncIterator(this.name, timeout); | ||
} | ||
} | ||
module.exports = StreamDemux; |
{ | ||
"name": "stream-demux", | ||
"version": "4.0.3", | ||
"version": "4.0.4", | ||
"description": "An iterable asynchronous stream demultiplexer.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
15657
6
334