File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -3003,8 +3003,14 @@ added: v17.0.0
3003
3003
* ` streamReadable ` {stream.Readable}
3004
3004
* ` options ` {Object}
3005
3005
* ` strategy ` {Object}
3006
- * ` highWaterMark ` {number}
3007
- * ` size ` {Function}
3006
+ * ` highWaterMark ` {number} The maximum internal queue size (of the created
3007
+ ` ReadableStream ` ) before backpressure is applied in reading from the given
3008
+ ` stream.Readable ` . If no value is provided, it will be taken from the
3009
+ given ` stream.Readable ` .
3010
+ * ` size ` {Function} A function that size of the given chunk of data.
3011
+ If no value is provided, the size will be ` 1 ` for all the chunks.
3012
+ * ` chunk ` {any}
3013
+ * Returns: {number}
3008
3014
* Returns: {ReadableStream}
3009
3015
3010
3016
### ` stream.Writable.fromWeb(writableStream[, options]) `
You can’t perform that action at this time.
0 commit comments