mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
doc: fix typo in stream docs
PR-URL: https://github.com/nodejs/node/pull/40337 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
This commit is contained in:
1 parent
c7f3294d02
commit
1db2ffd008
1 file changed
+15
@@ -2078,6 +2078,21 @@ Calling `Readable.from(string)` or `Readable.from(buffer)` will not have
|
||||
the strings or buffers be iterated to match the other streams semantics
|
||||
for performance reasons.
|
||||
|
||||
### `stream.Readable.fromWeb(readableStream[, options])`
|
||||
<!-- YAML
|
||||
added: REPLACEME
|
||||
-->
|
||||
|
||||
> Stability: 1 - Experimental
|
||||
|
||||
* `readableStream` {ReadableStream}
|
||||
* `options` {Object}
|
||||
* `encoding` {string}
|
||||
* `highWaterMark` {number}
|
||||
* `objectMode` {boolean}
|
||||
* `signal` {AbortSignal}
|
||||
* Returns: {stream.Readable}
|
||||
|
||||
### `stream.Readable.isDisturbed(stream)`
|
||||
<!-- YAML
|
||||
added: v16.8.0
|
||||
|
||||
Reference in new issue
Block a user