| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
The value of stream.readable and stream.writable should not be used to detect whether a stream is Writable or Readable. Refs: nodejs#29395
|
Might it be useful to publicly expose these? |
Sorry, something went wrong.
|
@Fishrock123: Something like? const { isReadable, isWritable } = require('stream'); |
Sorry, something went wrong.
|
@ronag Yes, although I'd like to hear others chime in on the stability of such functions. |
Sorry, something went wrong.
|
@nodejs/streams |
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
|
Should this be backported to v12.x-staging? If yes please follow the guide and raise a backport PR, if not let me know or add the dont-land-on label. |
Sorry, something went wrong.
|
@targos: Never done it before but I will take a look. Will try to have something ready this week. |
Sorry, something went wrong.
|
I'd very much like to have this merged and included in such a backport, #29664. |
Sorry, something went wrong.
|
quick ping re: backport |
Sorry, something went wrong.
|
@MylesBorins Coincidentally I started looking at backporting this one on Friday - PR ready now |
Sorry, something went wrong.
The value of stream.readable and stream.writable should not be used to detect whether a stream is Writable or Readable. PR-URL: nodejs#29409 Backport-PR-URL: nodejs#31345
| Back | FazBrowse Home | New Git URL |
The value of stream.readable and stream.writable should not
be used to detect whether a stream is Writable or Readable.
Refs: #29395
Checklist