-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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: return undefined writable/readable #40803
base: main
Are you sure you want to change the base?
Conversation
Return undefined for writable/readable props if the stream never was writable/readable. This way we can differentiate between Duplex streams that never was writable/readable and Duplex streams which has finished writing/reading.
@nodejs/streams |
I think this needs docs changes (prose + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM after a CITGM pass.
It looks like there are related CI failures. |
There are a few CI failures that would need to be addressed in order to land this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
I think this would need to be documented. |
Return undefined for writable/readable props if the stream
never was writable/readable. This way we can differentiate between
Duplex streams that never was writable/readable and Duplex streams
which has finished writing/reading.