-
Notifications
You must be signed in to change notification settings - Fork 46
finish
event fired twice
#30
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I have created branch 1.1.0 with a fix for the issue. I have a bit more testing to do but if it checks out I should be publishing on NPM shortly. |
just tried this branch. the finish event fires indeed only once, but at the wrong moment: when it has finished reading the input stream, instead of when it has finished writing (ie:completed the upload). |
My colleague and I fell foul of this the other day on the latest published npm version. We ended up just using |
Any update on this one? Not being able to rely on 'finish' (which in 1.0.7 still get fired twice) makes it hard to use with other stream utilities (e.g multipipe / pumpify who relies on end/finish). Seems #40 might be fixing this |
This module is deprecated as its functionality has been added to the official |
Makes sense, thanks! |
And here is the output:
The text was updated successfully, but these errors were encountered: