(controller)
| 20 | let index = 0; |
| 21 | return new ReadableStream({ |
| 22 | pull(controller) { |
| 23 | if (index < chunks.length) { |
| 24 | controller.enqueue(new TextEncoder().encode(chunks[index++])); |
| 25 | } else { |
| 26 | controller.close(); |
| 27 | } |
| 28 | }, |
| 29 | }); |
| 30 | } |
| 31 |
nothing calls this directly
no outgoing calls
no test coverage detected