Updated on 2026-08-14
This commit is contained in:
parent
642190f7c6
commit
3a5144403b
19 changed files with 1033 additions and 49 deletions
|
|
@ -19,6 +19,10 @@ abstract class SingleAccountSupplier(
|
|||
override val keyCreator: (SingleAccountProducer.Params) -> String,
|
||||
) : FlowCachingSupplier<SingleAccountProducer, SingleAccountProducer.Params, Account>() {
|
||||
|
||||
operator fun invoke(accountId: AccountId): Flow<Account> {
|
||||
return invoke(params = SingleAccountProducer.Params(accountId))
|
||||
}
|
||||
|
||||
fun filterPaymentAccount(accountId: AccountId): Flow<Account.Payment> {
|
||||
return invoke(params = SingleAccountProducer.Params(accountId)).filterIsInstance()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue