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