(chunk, encoding, callback)
| 30 | const chunks: any[] = [] |
| 31 | const responseStream = new Stream.Writable({ |
| 32 | write(chunk, encoding, callback) { |
| 33 | chunks.push(chunk) |
| 34 | callback() |
| 35 | }, |
| 36 | }) |
| 37 | |
| 38 | await sendStandardResponse(responseStream, res, { eventIteratorKeepAliveComment: 'test' }) |