Automatically restarts your stream for you when it ends. This can be easily use to concatenate multiple streams.
'use strict'var nes =var from =var chunks = 'hello' 'world'var count = 0var stream =// prints// hello// world// hello// worldstream
Creates a binary never-ending stream, by concatenating all streams
build is called whenever the
previous stream completes.
build can be synchronous or asynchronous:
if it accepts no callback, is synchronous, and it should return the
null to close the
if it accepts a callback, is asynchronous, and you should call the
callback when the next stream is ready, like
All other options will be passed to through2.
neverEndingStream(), but with
objectMode: true by default.