File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,7 @@ object mode is not safe.
6565<!-- type=misc-->
6666
6767Both [ ` Writable ` ] [ ] and [ ` Readable ` ] [ ] streams will store data in an internal
68- buffer that can be retrieved using ` writable.writableBuffer ` or
69- ` readable.readableBuffer ` , respectively.
68+ buffer.
7069
7170The amount of data potentially buffered depends on the ` highWaterMark ` option
7271passed into the stream's constructor. For normal streams, the ` highWaterMark `
@@ -110,6 +109,11 @@ writing data *to* the socket. Because data may be written to the socket at a
110109faster or slower rate than data is received, each side should
111110operate (and buffer) independently of the other.
112111
112+ The mechanics of the internal buffering are an internal implementation detail
113+ and may be changed at any time. However, for certain advanced implementations,
114+ the internal buffers can be retrieved using ` writable.writableBuffer ` or
115+ ` readable.readableBuffer ` . Use of these undocumented properties is discouraged.
116+
113117## API for stream consumers
114118
115119<!-- type=misc-->
You can’t perform that action at this time.
0 commit comments