MultiPlatformBackupScope
class MultiPlatformBackupScope(selfUserId: UserId, kaliumFileSystem: KaliumFileSystem, backupRepository: BackupRepository, userRepository: UserRepository)
Constructors
Link copied to clipboard
internal constructor(selfUserId: UserId, kaliumFileSystem: KaliumFileSystem, backupRepository: BackupRepository, userRepository: UserRepository)
Functions
Link copied to clipboard
Creates a restore use case that dispatches progress callbacks on progressDispatcher. This allows consumers without a UI main dispatcher to restore history. The existing restore property continues to dispatch progress on the main dispatcher.