()
| 37 | await clientSession.opened; |
| 38 | |
| 39 | async function* generateChunks() { |
| 40 | for (const chunk of chunks) { |
| 41 | yield encoder.encode(chunk); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | const stream = await clientSession.createBidirectionalStream(); |
| 46 | stream.setBody(generateChunks()); |
no test coverage detected