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

Option to not end dest? #26

Open
ronag opened this issue Dec 23, 2017 · 3 comments
Open

Option to not end dest? #26

ronag opened this issue Dec 23, 2017 · 3 comments

Comments

@ronag
Copy link

ronag commented Dec 23, 2017

pipe has this option... shouldn't pump also have it?

@sprijk
Copy link

sprijk commented Feb 12, 2018

+1 !

@sprijk
Copy link

sprijk commented Feb 12, 2018

(or can we hack a stream and overload the end function?)

@richardscarrott
Copy link

richardscarrott commented Jan 9, 2020

@ronag @sprijk Did you find a solution to this by any chance?

I'd like to be able to pump multiple sources sequentially, e.g.

await pump(readable1, writable);
await pump(readable2, writable); // Error [ERR_STREAM_WRITE_AFTER_END]: write after end

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

3 participants