continuePreviousUploads
abstract suspend fun continuePreviousUploads(channelProducer: suspend (source: String, offset: Long) -> ByteReadChannel): List<Deferred<ResumableUpload>>(source)
Reads pending uploads from the cache and creates a new ResumableUpload for each of them. This done in parallel, so you can start the downloads independently.
Parameters
channelProducer
A function that takes the source of the upload (e.g. file path) plus the channel offset (you can use ByteReadChannel.discard for that) and returns a ByteReadChannel for the data to upload