Skip to content
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

make objectmode configurable #19

Open
juliangruber opened this issue Oct 21, 2015 · 1 comment
Open

make objectmode configurable #19

juliangruber opened this issue Oct 21, 2015 · 1 comment

Comments

@juliangruber
Copy link
Owner

No description provided.

@juliangruber
Copy link
Owner Author

adding an options object to the current api sucks, this calls for a new api like

var stream = pipe([
  streamA,
  streamB,
  streamC
], { objectMode: true });

or in general:

var stream = pipe(streams[, opts]);

we can however make it backwards compatible, so I'll try to come up with a reasonable patch

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