()
| 120 | } |
| 121 | |
| 122 | async function* source2() { |
| 123 | try { |
| 124 | while (true) yield [new TextEncoder().encode('b')]; |
| 125 | } finally { |
| 126 | source2Return = true; |
| 127 | } |
| 128 | } |
| 129 | // eslint-disable-next-line no-unused-vars |
| 130 | for await (const _ of merge(source1(), source2())) { |
| 131 | break; // Break after first batch |
no test coverage detected