Commit cc2393c
lib: promise version of streams.finished call clean up
implement autoCleanup logic. update docs add autoCleanup description
ref: #44556
PR-URL: #44862
Refs: #44556
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>1 parent 17ef1bb commit cc2393cCopy full SHA for cc2393c
File tree
Expand file treeCollapse file tree
3 files changed
+72
-13
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal/streams
- test/parallel
Expand file treeCollapse file tree
3 files changed
+72
-13
lines changedOpen diff view settings
Collapse file
+5Lines changed: 5 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2363 | 2363 | |
2364 | 2364 | |
2365 | 2365 | |
| 2366 | + |
2366 | 2367 | |
2367 | 2368 | |
2368 | 2369 | |
| ||
2376 | 2377 | |
2377 | 2378 | |
2378 | 2379 | |
| 2380 | + |
| 2381 | + |
| 2382 | + |
2379 | 2383 | |
2380 | 2384 | |
| 2385 | + |
2381 | 2386 | |
2382 | 2387 | |
2383 | 2388 | |
|
Collapse file
lib/internal/streams/end-of-stream.js
Copy file name to clipboardExpand all lines: lib/internal/streams/end-of-stream.js+13-1Lines changed: 13 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
| 22 | + |
22 | 23 | |
23 | 24 | |
24 | 25 | |
| ||
243 | 244 | |
244 | 245 | |
245 | 246 | |
| 247 | + |
| 248 | + |
| 249 | + |
| 250 | + |
| 251 | + |
| 252 | + |
| 253 | + |
| 254 | + |
246 | 255 | |
247 | | - |
| 256 | + |
| 257 | + |
| 258 | + |
| 259 | + |
248 | 260 | |
249 | 261 | |
250 | 262 | |
|
Collapse file
test/parallel/test-stream-promises.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-promises.js+54-12Lines changed: 54 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
7 | | - |
8 | | - |
| 6 | + |
9 | 7 | |
10 | 8 | |
11 | | - |
12 | | - |
| 9 | + |
13 | 10 | |
14 | 11 | |
15 | 12 | |
| ||
24 | 21 | |
25 | 22 | |
26 | 23 | |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
| 24 | + |
32 | 25 | |
33 | 26 | |
34 | | - |
| 27 | + |
| 28 | + |
35 | 29 | |
36 | 30 | |
37 | 31 | |
| ||
59 | 53 | |
60 | 54 | |
61 | 55 | |
62 | | - |
| 56 | + |
| 57 | + |
63 | 58 | |
64 | 59 | |
65 | 60 | |
| ||
101 | 96 | |
102 | 97 | |
103 | 98 | |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
| 104 | + |
| 105 | + |
| 106 | + |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | + |
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
0 commit comments