-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
doc: added ready events in fs-stream, net-socket #19935
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
Conversation
vsemozhetbyt
left a comment
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.
Thank you! I've left some notes about format nits, otherwise LGTM.
doc/api/fs.md
Outdated
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.
Nit: ReadStream's -> `ReadStream`'s
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.
Hi! Does this mean the rest of the docs should comply to that? I'm seeing that the 'open' event doesn't wrap ReadStream in backticks either. Maybe a new issue should be opened to fix the various inconsistencies instead?
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.
Our docs have many format inconsistencies, it may be worth to not add more in new changes. But I may be wrong, so you can decide at your own discretion)
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.
I've searched all the docs for this pattern and found only these few fragments. Thank you for reporting, I will fix them ASAP: #19938
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.
Fixed.
doc/api/fs.md
Outdated
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.
Nit: `open` -> `'open'`
doc/api/fs.md
Outdated
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.
Nit: WriteStream's -> `WriteStream`'s
doc/api/fs.md
Outdated
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.
Nit: `open` -> `'open'`
doc/api/net.md
Outdated
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.
It seems this should go after ### Event: 'lookup', alphabetically.
doc/api/net.md
Outdated
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.
Nit: `connect` -> `'connect'`
|
@nodejs/streams PTAL |
|
@vsemozhetbyt thanks. Addressed in ab032d8 |
mcollina
left a comment
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
|
@towc Looks like your branch is 2596 commits behind Can you please rebase from |
|
having some technical difficulties -_- |
ef5c023 to
0aab8ff
Compare
|
commands were ran, mistakes were made. The new PR resides at #19968. I apologize to the reviewers |
Added short description of the ready event in fs ReadStream,
WriteStream, and net Socket
Fixes: #19796
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes