Transaction Manager Impl
class TransactionManagerImpl(config: MatrixClientConfiguration, rtm: RepositoryTransactionManager, scope: CoroutineScope) : TransactionManager
Constructors
Link copied to clipboard
constructor(config: MatrixClientConfiguration, rtm: RepositoryTransactionManager, scope: CoroutineScope)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open suspend override fun writeOperationAsync(key: String, block: suspend () -> Unit): StateFlow<Boolean>?
Saves a write operation into AsyncTransactionContext or creates a new Transaction for this operation. This must only be called on writing repository operations directly (save, update, delete).