Resumable

data class Resumable(var cache: ResumableCache? = null, var retryTimeout: Duration = 5.seconds, var 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

Constructors

Link copied to clipboard
constructor(cache: ResumableCache? = null, retryTimeout: Duration = 5.seconds, onlyUpdateStateAfterChunk: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard

The default chunk size for resumable uploads. Supabase currently only supports a chunk size of 6MB, so be careful when changing this value

Link copied to clipboard