Commit e939a87
stream: async iterator destroy compat
async iterator should not depend on internal API for better compat
with streamlike objects.
PR-URL: #29176
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent eb2d96f commit e939a87Copy full SHA for e939a87
File tree
Expand file treeCollapse file tree
2 files changed
+57
-7
lines changedOpen diff view settings
Filter options
- lib/internal/streams
- test/parallel
Expand file treeCollapse file tree
2 files changed
+57
-7
lines changedOpen diff view settings
Collapse file
lib/internal/streams/async_iterator.js
Copy file name to clipboardExpand all lines: lib/internal/streams/async_iterator.js+16-7Lines changed: 16 additions & 7 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
110 | 110 | |
111 | 111 | |
112 | 112 | |
113 | | - |
114 | | - |
115 | | - |
116 | 113 | |
117 | | - |
118 | | - |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
119 | 127 | |
120 | | - |
| 128 | + |
| 129 | + |
121 | 130 | |
122 | | - |
123 | 131 | |
| 132 | + |
124 | 133 | |
125 | 134 | |
126 | 135 | |
|
Collapse file
test/parallel/test-stream-readable-async-iterators.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-readable-async-iterators.js+41Lines changed: 41 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
486 | 486 | |
487 | 487 | |
488 | 488 | |
| 489 | + |
| 490 | + |
| 491 | + |
| 492 | + |
| 493 | + |
| 494 | + |
| 495 | + |
| 496 | + |
| 497 | + |
| 498 | + |
| 499 | + |
| 500 | + |
| 501 | + |
| 502 | + |
| 503 | + |
| 504 | + |
| 505 | + |
| 506 | + |
| 507 | + |
| 508 | + |
| 509 | + |
| 510 | + |
| 511 | + |
| 512 | + |
| 513 | + |
| 514 | + |
| 515 | + |
| 516 | + |
| 517 | + |
| 518 | + |
| 519 | + |
| 520 | + |
| 521 | + |
| 522 | + |
| 523 | + |
| 524 | + |
| 525 | + |
| 526 | + |
| 527 | + |
| 528 | + |
| 529 | + |
489 | 530 | |
490 | 531 | |
0 commit comments