()
| 334 | const bodyIterator = cachedValue.body.values() |
| 335 | |
| 336 | const streamCachedBody = () => { |
| 337 | for (const chunk of bodyIterator) { |
| 338 | const full = this.#writeStream.write(chunk) === false |
| 339 | this.#handler.onResponseData?.(controller, chunk) |
| 340 | // when stream is full stop writing until we get a 'drain' event |
| 341 | if (full) { |
| 342 | break |
| 343 | } |
| 344 | } |
| 345 | } |
| 346 | |
| 347 | this.#writeStream |
| 348 | .on('error', function () { |
nothing calls this directly
no test coverage detected