Appends the given stream to the combinedStream object.
Appends the given stream to the combinedStream object. If pauseStreams is set to true
,
this stream will also be paused right away.
streams can also be a function that takes one parameter called next. next is a function that must be invoked in order to provide the next stream, see example above.
Regardless of how the stream is appended, combined-stream always attaches an 'error' listener to it, so you don't have to do that manually.
Special case: stream can also be a String or Buffer.
the given string or buffer
Appends the given stream to the combinedStream object.
Appends the given stream to the combinedStream object. If pauseStreams is set to true
,
this stream will also be paused right away.
streams can also be a function that takes one parameter called next. next is a function that must be invoked in order to provide the next stream, see example above.
Regardless of how the stream is appended, combined-stream always attaches an 'error' listener to it, so you don't have to do that manually.
Special case: stream can also be a String or Buffer.
the given stream
Appends the given stream to the combinedStream object.
Appends the given stream to the combinedStream object. If pauseStreams is set to true
,
this stream will also be paused right away.
streams can also be a function that takes one parameter called next. next is a function that must be invoked in order to provide the next stream, see example above.
Regardless of how the stream is appended, combined-stream always attaches an 'error' listener to it, so you don't have to do that manually.
Special case: stream can also be a String or Buffer.
the given callback function
The amount of bytes (or characters) currently buffered by combinedStream.
Same as combinedStream.end(), except it emits a 'close' event instead of 'end'.
The maximum amount of bytes (or characters) to buffer for all source streams.
The maximum amount of bytes (or characters) to buffer for all source streams. If this value is exceeded, combinedStream emits an 'error' event.
Whether to apply back pressure to the underlying streams.
Whether to apply back pressure to the underlying streams. If set to false, the underlying streams will never be paused. If set to true, the underlying streams will be paused right after being appended, as well as when delayedStream.pipe() wants to throttle.
You should not call this, combinedStream takes care of piping the appended streams into itself for you.
combined-stream - A stream that emits multiple other streams one after another.