SyncMigrationStep

internal interface SyncMigrationStep

Migration step. this interface provide a way to migrate the sync version of the user. the logic is executed before sync itself keep in mind this logic can run multiple times since it runs before sync then if one of the sync steps after it failed, and we need to retry sync then this logic will run again

Inheritors

Properties

Link copied to clipboard
abstract val version: Int

The sync version after executing this migration step.

Functions

Link copied to clipboard
abstract suspend operator fun invoke(): Either<CoreFailure, Unit>