-
Notifications
You must be signed in to change notification settings - Fork 64
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
Convert to real stream #42
Comments
Using the builtin My personal philosophy of streams is that they should be used for streaming efficient pieces of data, so I'm 👎 on a stream that uses the Maybe a good module idea would be to combine var pumpcat = require('pumpcat')
pumpcat(readableStream, throughStream, function done (err, data) {
// err is from `pump`
// `data` is from concat-stream
}) |
Oh, I believed errors where propagated over all the pipeline, so it was only needed to listed to them on the last element. Is not this the case? :-(
This point has some perspectives, and they are not incompatible :-) I find myself acceptable to emit a single big
I'm not too much into |
yes unfortunately you have to handle errors on each stream in the pipeline yourself. however if you use something like |
@maxogden hm, i had to do pump + bl quite a few times, and also bumped into this thread. here it is - https://github.com/aks-/pumpcat |
The doc says
Making
concat-stream
would make it trivial to get the errors down from the pipeline. It could emit adata
event when it's ready.The text was updated successfully, but these errors were encountered: