sync

abstract suspend fun sync(): Flow<SyncProgress>

Synchronizes data and returns a Flow emitting the progress of the sync operation.

Return

A Flow emitting SyncProgress objects representing the progress of the sync operation.