()
| 29 | |
| 30 | let yieldCount = 0; |
| 31 | async function* slowSource() { |
| 32 | while (true) { |
| 33 | yield encoder.encode(`chunk ${yieldCount++} `); |
| 34 | await setTimeout(50); |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | const stream = await clientSession.createBidirectionalStream(); |
| 39 | stream.setBody(slowSource()); |
no test coverage detected
searching dependent graphs…