File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -1590,11 +1590,9 @@ async function run() {
1590
1590
run ().catch (console .error );
1591
1591
```
1592
1592
1593
- On completion or error ` stream.pipeline() ` will call ` stream.destroy(err) ` on
1594
- all provided stream except for ` Readable ` streams which have emitted ` 'end' `
1595
- or ` 'close' ` and ` Writable ` streams which have emitted ` 'finish' ` or ` 'close' ` .
1596
- Unless ` autoDestroy ` is enabled these streams will not be automatically cleaned
1597
- up.
1593
+ ` stream.pipeline() ` will call ` stream.destroy(err) ` on all streams except:
1594
+ - ` Readable ` streams which have emitted ` 'end' ` or ` 'close' ` .
1595
+ - ` Writable ` streams which have emitted ` 'finish' ` or ` 'close' ` .
1598
1596
1599
1597
` stream.pipeline() ` leaves dangling event listeners on the streams
1600
1598
after the ` callback ` has been invoked. In the case of reuse of streams after
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments