npm install @rpldy/chunked-uploady
yarn add @rpldy/chunked-uploady
|Name (* = mandatory)||Type||Default||Description|
|chunked||boolean||true||chunk uploads. setting to false will return to default sending behavior|
|chunkSize||number||5242880||the chunk size. relevant when uploaded file is larger than the value|
|retries||number||0||how many times to retry sending a failed chunk|
|parallel||number||0||how many (chunk) requests to send simultaneously|
In addition, all UploadOptions props can be passed to ChunkedUploady.
See: Uploady documentation for detailed list of upload options.
It's possible to have chunked uploads retry in case of failure. By default, one chunk failing once will cause the entire upload to error.