| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5469adf commit 80fa675
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -65,6 +65,15 @@ or `require('node:stream').promises`. | |||
| 65 | 65 | ||
| 66 | 66 | <!-- YAML | |
| 67 | 67 | added: v15.0.0 | |
| 68 | + changes: | ||
| 69 | + - version: | ||
| 70 | + - v18.0.0 | ||
| 71 | + - v17.2.0 | ||
| 72 | + - v16.14.0 | ||
| 73 | + pr-url: https://github.com/nodejs/node/pull/40886 | ||
| 74 | + description: Add the `end` option, which can be set to `false` to prevent | ||
| 75 | + automatically closing the destination stream when the source | ||
| 76 | + ends. | ||
| 68 | 77 | --> | |
| 69 | 78 | ||
| 70 | 79 | * `streams` {Stream\[]|Iterable\[]|AsyncIterable\[]|Function\[]} | |
@@ -76,9 +85,11 @@ added: v15.0.0 | |||
| 76 | 85 | * `destination` {Stream|Function} | |
| 77 | 86 | * `source` {AsyncIterable} | |
| 78 | 87 | * Returns: {Promise|AsyncIterable} | |
| 79 | - * `options` {Object} | ||
| 88 | + * `options` {Object} Pipeline options | ||
| 80 | 89 | * `signal` {AbortSignal} | |
| 81 | - * `end` {boolean} | ||
| 90 | + * `end` {boolean} End the destination stream when the source stream ends. | ||
| 91 | + Transform streams are always ended, even if this value is `false`. | ||
| 92 | + **Default:** `true`. | ||
| 82 | 93 | * Returns: {Promise} Fulfills when the pipeline is complete. | |
| 83 | 94 | ||
| 84 | 95 | ```cjs | |
| Back | FazBrowse Home | New Git URL |
0 commit comments