Syncable

interface Syncable(source)

Repository contract for synchronization with progress reporting.

The Home implementation returns a cold Flow: collect it to execute its push and pull phases. Calling the suspend method alone does not execute those phases.

See also

Inheritors

Functions

Link copied to clipboard
abstract suspend fun sync(): Flow<SyncProgress>

Returns synchronization progress. Execution and error behavior depend on the implementation.