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

TxConnection

interface TxConnection<R> : Closeable

Functions

begin

abstract fun begin(): Either<TxError, TxStarted<R>>

continueTx

abstract fun continueTx(): Either<TxError, TxStarted<R>>

getResource

abstract fun getResource(): R

hasTransaction

abstract fun hasTransaction(): Boolean

Inheritors

TxStarted

interface TxStarted<R> : TxConnection<R>