sequence-stream
gather a sequence of streams into a single stream.
var Readable = ;var seq = ; var a = ;var b = ; var c = ; ; a;b;c; a;b;c; a;b;c; a;b;c; // 123456789
install
node:
$ npm install sequence-stream
api
seq(streams[, opts])
Creates a new stream from the given array of streams. Each stream in the given array is paused until the stream immediately before it has finished, at which point it will be resumed and have its output passed through the sequence stream.
If opts
are given, they will be used as the options to use to initialise the new stream.
The returned stream is a q-stream
, and is thus technically a Transform
stream.