Open nicwsm opened 8 years ago
There is no unpipe
method. You should transform the Highland stream into a node stream (by piping to PassThrough
if you want to use node stream features that Highland doesn't provide.
// You may need to specify objectMode and/or highWaterMark depending on your use case.
var stream = h(...).pipe(new PassThrough());
stream.pipe(....);
// Later on.
stream.unpipe(...);
Hi,
Just curious, is it possible to .unpipe a highland.js stream? If yes, how should I do it? Thanks.
For example..
h().unpipe(stream)
I have two different streams, and I want to unpipe the writable from the readable stream without affecting the other streams still piped to the readable streams..