Updated on 2026-08-14

This commit is contained in:
Tangem 2024-07-24 11:33:04 +03:00
parent e7106ec7b8
commit 9cb70782cf
6 changed files with 24 additions and 19 deletions

View file

@ -1,5 +1,6 @@
package com.tangem.datasource.local.userwallet
import com.tangem.common.CompletionResult
import com.tangem.domain.wallets.models.UserWallet
import com.tangem.domain.wallets.models.UserWalletId
import kotlinx.coroutines.flow.Flow
@ -14,6 +15,8 @@ interface UserWalletsStore {
suspend fun getAllSyncOrNull(): List<UserWallet>?
@Throws
suspend fun update(userWalletId: UserWalletId, update: suspend (UserWallet) -> UserWallet)
suspend fun update(
userWalletId: UserWalletId,
update: suspend (UserWallet) -> UserWallet,
): CompletionResult<UserWallet>
}