Resumable

constructor(cache: ResumableCache? = null, retryTimeout: Duration = 5.seconds, onlyUpdateStateAfterChunk: Boolean = false)(source)

Parameters

cache

the cache for caching resumable upload urls

retryTimeout

the timeout for retrying resumable uploads when uploading a chunk fails

onlyUpdateStateAfterChunk

whether the state should only be updated after a chunk was uploaded successfully or also when the chunk is currently being uploaded