Skip to content

many-at-once api #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
davidmarkclements opened this issue Aug 22, 2014 · 0 comments
Open

many-at-once api #4

davidmarkclements opened this issue Aug 22, 2014 · 0 comments

Comments

@davidmarkclements
Copy link

It would be nice to be able to do this

var instream = fs.createReadStream('/usr/bin/more');
var passthru = new stream.PassThrough();
var outstream = fs.createWriteStream('/dev/null');

vstream.wrapStreams({
   source: instream,
   passthru: passthru,
   devnull: outstream
})

That makes it easier for me separate debug instrumentations and quickly add remove as needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant