nee-core / dev.neeffect.nee.effects.tx / TxProvider

TxProvider

interface TxProvider<R, G : TxProvider<R, G>>

Transactional resource provider.

Functions

getConnection

abstract fun getConnection(): TxConnection<R>

setConnectionState

abstract fun setConnectionState(newState: TxConnection<R>): G