GeezerVison is showing github.com — doc: update api `stream.compose` · nodejs/node@ce9d84e
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: doc/api/stream.md +4-1Lines changed: 4 additions & 1 deletion - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2823,6 +2823,9 @@ const server = http.createServer((req, res) => { |
2823 | 2823 | <!-- YAML |
2824 | 2824 | added: v16.9.0 |
2825 | 2825 | changes: |
| 2826 | + - version: REPLACEME |
| 2827 | + pr-url: https://github.com/nodejs/node/pull/50187 |
| 2828 | + description: Added support for stream class. |
2826 | 2829 | - version: |
2827 | 2830 | - v19.8.0 |
2828 | 2831 | - v18.16.0 |
@@ -2833,7 +2836,7 @@ changes: |
2833 | 2836 | > Stability: 1 - `stream.compose` is experimental. |
2834 | 2837 |
|
2835 | 2838 | * `streams` {Stream\[]|Iterable\[]|AsyncIterable\[]|Function\[]| |
2836 | | - ReadableStream\[]|WritableStream\[]|TransformStream\[]} |
| 2839 | + ReadableStream\[]|WritableStream\[]|TransformStream\[]|Duplex\[]|Function} |
2837 | 2840 | * Returns: {stream.Duplex} |
2838 | 2841 |
|
2839 | 2842 | Combines two or more streams into a `Duplex` stream that writes to the |
|