Updated on 2026-08-14
This commit is contained in:
parent
6b75b48f1e
commit
8e6eca1b4c
23 changed files with 327 additions and 216 deletions
|
|
@ -0,0 +1,15 @@
|
|||
package com.tangem.domain.common.wallets
|
||||
|
||||
import com.tangem.domain.models.wallet.UserWallet
|
||||
|
||||
/**
|
||||
* Handler invoked when a user wallet becomes the active one.
|
||||
*
|
||||
* Side effects (analytics tracking context, Tangem SDK display config, access code request policy, etc.)
|
||||
* follow switch-latest semantics: if a new selection arrives while a previous one is still being processed,
|
||||
* the in-flight job is cancelled and only the latest selection is applied.
|
||||
*/
|
||||
interface UserWalletSelectedHandler {
|
||||
|
||||
suspend operator fun invoke(userWallet: UserWallet)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue