Skip to content

Commit 1db2ffd

Browse files
juanarboldanielleadams
authored andcommittedOct 7, 2021
doc: fix typo in stream docs
PR-URL: #40337 Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
1 parent c7f3294 commit 1db2ffd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
 

‎doc/api/stream.md

+15
Original file line numberDiff line numberDiff line change
@@ -2078,6 +2078,21 @@ Calling `Readable.from(string)` or `Readable.from(buffer)` will not have
20782078
the strings or buffers be iterated to match the other streams semantics
20792079
for performance reasons.
20802080

2081+
### `stream.Readable.fromWeb(readableStream[, options])`
2082+
<!-- YAML
2083+
added: REPLACEME
2084+
-->
2085+
2086+
> Stability: 1 - Experimental
2087+
2088+
* `readableStream` {ReadableStream}
2089+
* `options` {Object}
2090+
* `encoding` {string}
2091+
* `highWaterMark` {number}
2092+
* `objectMode` {boolean}
2093+
* `signal` {AbortSignal}
2094+
* Returns: {stream.Readable}
2095+
20812096
### `stream.Readable.isDisturbed(stream)`
20822097
<!-- YAML
20832098
added: v16.8.0

0 commit comments

Comments
 (0)
Please sign in to comment.