Updated on 2026-08-14
This commit is contained in:
parent
1bf78a1f1a
commit
f25889d1a0
30 changed files with 149 additions and 275 deletions
|
|
@ -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>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue