We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8974d6 commit e6db6beCopy full SHA for e6db6be
doc/api/stream.md
@@ -2976,8 +2976,14 @@ added: v17.0.0
2976
* `streamReadable` {stream.Readable}
2977
* `options` {Object}
2978
* `strategy` {Object}
2979
- * `highWaterMark` {number}
2980
- * `size` {Function}
+ * `highWaterMark` {number} The maximum internal queue size (of the created
+ `ReadableStream`) before backpressure is applied in reading from the given
2981
+ `stream.Readable`. If no value is provided, it will be taken from the
2982
+ given `stream.Readable`.
2983
+ * `size` {Function} A function that size of the given chunk of data.
2984
+ If no value is provided, the size will be `1` for all the chunks.
2985
+ * `chunk` {any}
2986
+ * Returns: {number}
2987
* Returns: {ReadableStream}
2988
2989
### `stream.Writable.fromWeb(writableStream[, options])`
0 commit comments