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

Fulfill the promise only after last stream is written #9

Merged
merged 1 commit into from Nov 25, 2017

Conversation

walac
Copy link
Contributor

@walac walac commented Nov 17, 2017

When we have a chained pipe operation of N streams, we know we are done
when the last stream emits the 'finish' event, which means data has been
flushed to the media and the end() method was called.

An error on any stream should reject the promise.

When we have a chained pipe operation of N streams, we know we are done
when the last stream emits the 'finish' event, which means data has been
flushed to the media and the end() method was called.

An error on any stream should reject the promise.
@esamattis esamattis merged commit cb17b5c into esamattis:master Nov 25, 2017
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.

None yet

2 participants