-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
doc: add readable and writable property to Readable and Writable #23924
doc: add readable and writable property to Readable and Writable #23924
Conversation
doc/api/stream.md
Outdated
added: REPLACEME | ||
--> | ||
|
||
* Returns: {boolean} |
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's a property, not a function, so it does not return a value.
doc/api/stream.md
Outdated
added: REPLACEME | ||
--> | ||
|
||
* Returns: {boolean} |
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's a property, not a function, so it does not return a value.
doc/api/stream.md
Outdated
@@ -482,6 +482,16 @@ This property contains the number of bytes (or objects) in the queue | |||
ready to be written. The value provides introspection data regarding | |||
the status of the `highWaterMark`. | |||
|
|||
##### writable.writable | |||
<!-- YAML> |
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.
Remove >
doc/api/stream.md
Outdated
@@ -1034,6 +1044,15 @@ This property contains the number of bytes (or objects) in the queue | |||
ready to be read. The value provides introspection data regarding | |||
the status of the `highWaterMark`. | |||
|
|||
##### readable.readable | |||
<!-- YAML> |
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.
Remove >
doc/api/stream.md
Outdated
@@ -482,6 +482,16 @@ This property contains the number of bytes (or objects) in the queue | |||
ready to be written. The value provides introspection data regarding | |||
the status of the `highWaterMark`. | |||
|
|||
##### writable.writable |
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.
Properties should be ordered alphabetically in the docs, so this is in the wrong place. It needs to appear above the other writable.writable*
properties.
doc/api/stream.md
Outdated
@@ -1034,6 +1044,15 @@ This property contains the number of bytes (or objects) in the queue | |||
ready to be read. The value provides introspection data regarding | |||
the status of the `highWaterMark`. | |||
|
|||
##### readable.readable |
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.
Properties should be ordered alphabetically in the docs, so this is in the wrong place. It needs to appear above the other readable.readable*
properties.
Hi, @dexterleng! Welcome and thanks for the pull request! Documentation changes can attract a lot of comments, which sometimes surprises and even frustrates people. Try to be patient and to not get discouraged. Thanks again! |
c0cd519
to
35ed66c
Compare
Oops. I forced pushed and broke the commit history. Opening a new PR. |
Issue #21431
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes