interface TxConnection<R> : Closeable
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 |
TxStarted |
interface TxStarted<R> : TxConnection<R> |