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:
Juan José Arboleda authored and Danielle Adams committed 2021-10-07 03:56:49 -04:00
1 parent c7f3294d02
commit 1db2ffd008
1 file changed
+15
+15
View File
@@ -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