Skip to content

Conversation

@towc
Copy link
Contributor

@towc towc commented Apr 11, 2018

Added short description of the ready event in fs ReadStream,
WriteStream, and net Socket

Fixes: #19796

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to the documentations. label Apr 11, 2018
Copy link
Contributor

@vsemozhetbyt vsemozhetbyt left a 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
Copy link
Contributor

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

Copy link
Contributor Author

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?

Copy link
Contributor

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)

Copy link
Contributor

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

Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: `connect` -> `'connect'`

@BridgeAR
Copy link
Member

@nodejs/streams PTAL

@towc
Copy link
Contributor Author

towc commented Apr 11, 2018

@vsemozhetbyt thanks. Addressed in ab032d8

@vsemozhetbyt vsemozhetbyt added the fast-track PRs that do not need to wait for 48 hours to land. label Apr 11, 2018
@vsemozhetbyt
Copy link
Contributor

@vsemozhetbyt vsemozhetbyt added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 11, 2018
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@trivikr
Copy link
Member

trivikr commented Apr 12, 2018

@towc Looks like your branch is 2596 commits behind nodejs:master

Can you please rebase from upstream/master as described in contributing guidelines?

@towc
Copy link
Contributor Author

towc commented Apr 12, 2018

having some technical difficulties -_-

@towc towc closed this Apr 12, 2018
@towc towc force-pushed the doc-add-fs-net-ready-event branch from ef5c023 to 0aab8ff Compare April 12, 2018 08:01
@towc
Copy link
Contributor Author

towc commented Apr 12, 2018

commands were ran, mistakes were made. The new PR resides at #19968. I apologize to the reviewers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. doc Issues and PRs related to the documentations. fast-track PRs that do not need to wait for 48 hours to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fs,net: missing documentation for new "ready" events

6 participants