sync Upload
abstract suspend fun syncUpload(upload: suspend (List<LocalChange>) -> Flow<Pair<LocalChangeToken, Resource>>)
Content copied to clipboard
Synchronizes the upload result in the database. upload operation may result in multiple calls to the server to upload the data. Result of each call will be emitted by upload and the api caller should Flow.collect it.
Sources
androidJvm source
Link copied to clipboard