(error: Error)
| 128 | const destroyReadStream = () => !readStream.destroyed && readStream.destroy(); |
| 129 | |
| 130 | const onError = (error: Error) => { |
| 131 | destroyReadStream(); |
| 132 | throw error; |
| 133 | }; |
| 134 | |
| 135 | const onDataChunk = (chunk: Buffer) => { |
| 136 | const arrayBufferChunk = toArrayBuffer(chunk); |
nothing calls this directly
no test coverage detected