-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
stream, test: Add test for _readableState.needReadable and _readableState.emittedReadable #10230
Comments
This is really a good issue if someone wants to dig into how streams work. I'm happy to help. |
Hi, I am interested in the internals of streams since folks in my company have bumped into some perf issues related to it. I would love to spend some time digging into it and learning how it works :) |
@joyeecheung please go ahead and prep a PR! |
@joyeecheung I would like to have a test for |
@mcollina OK, working on it :) |
Part of nodejs#10230, increase coverage of the internal state machine of streams.
Yes but not entirely. We can close this in fact, my bad. |
Part of nodejs#10230, increase coverage of the internal state machine of streams.
Part of #8644.
State variable definition: https://github.com/nodejs/node/blob/master/lib/_stream_readable.js#L72-L77
See also #10214
cc @addaleax @Fishrock123 @nodejs/streams
The text was updated successfully, but these errors were encountered: