We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f32aa19 commit 607ff34Copy full SHA for 607ff34
doc/api/stream.md
@@ -3005,8 +3005,14 @@ added: v17.0.0
3005
* `streamReadable` {stream.Readable}
3006
* `options` {Object}
3007
* `strategy` {Object}
3008
- * `highWaterMark` {number}
3009
- * `size` {Function}
+ * `highWaterMark` {number} The maximum internal queue size (of the created
+ `ReadableStream`) before backpressure is applied in reading from the given
3010
+ `stream.Readable`. If no value is provided, it will be taken from the
3011
+ given `stream.Readable`.
3012
+ * `size` {Function} A function that size of the given chunk of data.
3013
+ If no value is provided, the size will be `1` for all the chunks.
3014
+ * `chunk` {any}
3015
+ * Returns: {number}
3016
* Returns: {ReadableStream}
3017
3018
### `stream.Writable.fromWeb(writableStream[, options])`
0 commit comments