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

Fixed forced paused flowMode issue. #288

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blackshadev
Copy link

By using the readable event the paused flowMode is forced upon the stream, even though the use of pipe() later on.
By explicitly calling stream.read() on the readable event the pipe will function normally.

This will fix issues #284

By using the readable event the paused flowMode is forced upon the stream, even though the use of pipe() later on.
By explicitly calling stream.read() on the readable event the pipe will function normally
@worksofliam
Copy link

Hi

Have just tested this PR with Node.js 10.2 and it does fix the issue.

Hoping this can get merged eventually.

All the best,
Liam Barry

@scarletsky
Copy link

It works in Node.js 11.12.0 too 😄

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

3 participants