镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -3005,8 +3005,14 @@ added: v17.0.0
* `streamReadable` {stream.Readable}
* `options` {Object}
* `strategy` {Object}
* `highWaterMark` {number}
* `size` {Function}
* `highWaterMark` {number} The maximum internal queue size (of the created
`ReadableStream`) before backpressure is applied in reading from the given
`stream.Readable`. If no value is provided, it will be taken from the
given `stream.Readable`.
* `size` {Function} A function that size of the given chunk of data.
If no value is provided, the size will be `1` for all the chunks.
* `chunk` {any}
* Returns: {number}
* Returns: {ReadableStream}

### `stream.Writable.fromWeb(writableStream[, options])`
Expand Down