Skip to content

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.

3 participants