★ wanayoo — archive 1999 https://github.com/nodejs/node/pull/23933Nouvelle recherche | Portail wanayoo
Skip to content
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 #23933

Closed

Conversation

Projects
None yet
6 participants
@dexterleng
Copy link
Contributor

dexterleng commented Oct 28, 2018 •

Issue #21431

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Show resolved Hide resolved doc/api/stream.md Outdated
doc: address comment
Co-Authored-By: dexterleng <34204380+dexterleng@users.noreply.github.com>
@dexterleng

This comment has been minimized.

Copy link
Contributor Author

dexterleng commented Nov 3, 2018

ping @jasnell

@Trott

This comment has been minimized.

Copy link
Member

Trott commented Nov 4, 2018

@nodejs/streams @nodejs/documentation This could use some reviews.

@mcollina
Copy link
Member

mcollina left a comment

The default value is slightly different, and the meaning as well. writable  is true  when it's safe to call write(), and readable is true when it's safe to call read().

The problem is that some of the core and ecosystem streams sets readable  or writable to false to take into account a delayed open scenario.

@dexterleng

This comment has been minimized.

Copy link
Contributor Author

dexterleng commented Nov 4, 2018

The default value is slightly different, and the meaning as well.

@mcollina Could you elaborate? In the constructor of Readable and Writable the properties are both true.

@mcollina

This comment has been minimized.

Show resolved Hide resolved doc/api/stream.md Outdated
Show resolved Hide resolved doc/api/stream.md Outdated
@mcollina
Copy link
Member

mcollina left a comment

LGTM

@Trott

This comment has been minimized.

Trott added a commit to Trott/io.js that referenced this pull request Nov 21, 2018

doc: add readable and writable property to Readable and Writable
PR-URL: nodejs#23933
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@Trott

This comment has been minimized.

Copy link
Member

Trott commented Nov 21, 2018

Landed in 16a2b5c.

Thanks for the contribution! 🎉

@Trott Trott closed this Nov 21, 2018

targos added a commit that referenced this pull request Nov 21, 2018

doc: add readable and writable property to Readable and Writable
PR-URL: #23933
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>

rvagg added a commit that referenced this pull request Nov 28, 2018

doc: add readable and writable property to Readable and Writable
PR-URL: #23933
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>

@BridgeAR BridgeAR referenced this pull request Dec 5, 2018

Merged

v11.4.0 proposal #24854

4 of 4 tasks complete

codebytere added a commit that referenced this pull request Jan 13, 2019

doc: add readable and writable property to Readable and Writable
PR-URL: #23933
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>

refack added a commit to refack/node that referenced this pull request Jan 14, 2019

doc: add readable and writable property to Readable and Writable
PR-URL: nodejs#23933
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>

@codebytere codebytere referenced this pull request Jan 15, 2019

Merged

v10.15.1 proposal #25346

MylesBorins added a commit that referenced this pull request Jan 29, 2019

doc: add readable and writable property to Readable and Writable
PR-URL: #23933
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>

codebytere added a commit that referenced this pull request Jan 29, 2019

doc: add readable and writable property to Readable and Writable
PR-URL: #23933
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
@MylesBorins

This comment has been minimized.

Copy link
Member

MylesBorins commented Jan 29, 2019

FWIW this landed with REPLACEME tags and subsequently got updated with an 11.x number for when it landed... which is innacurate

codebytere added a commit that referenced this pull request Jan 29, 2019

doc: add readable and writable property to Readable and Writable
PR-URL: #23933
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>

codebytere added a commit that referenced this pull request Jan 29, 2019

doc: add readable and writable property to Readable and Writable
PR-URL: #23933
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.