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

Ending streams properly and using the node common pipe behavior #2

Closed
wants to merge 2 commits into from
Closed

Conversation

nfroidure
Copy link
Contributor

I had some issue on switching from streams to buffers since piping the buffer didn't end the stream when piping a stream did. This could break some code but that code would break also when switching from buffer to streams anyway.

Here is my proposal to make it a bit more consistent by using the current NodeJS pipe method signature. Hope you'll find it usefull.

@yocontra
Copy link
Member

The tests and the functionality look fine but it doesn't adhere to the code style of the repo. I'll merge it and make the changes for style since they aren't documented

@yocontra
Copy link
Member

Can you add documentation for the added functionality before I merge?

@nfroidure
Copy link
Contributor Author

I documented the new behavior in the readme. Just for my information, what's coding style you use ?

@yocontra yocontra closed this in 796ba8b Dec 28, 2013
phated pushed a commit that referenced this pull request Sep 27, 2016
phated pushed a commit that referenced this pull request Sep 27, 2016
phated pushed a commit that referenced this pull request Sep 27, 2016
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

Successfully merging this pull request may close these issues.

2 participants