TransactionWithReturn

Functions

Link copied to clipboard
abstract fun afterCommit(function: () -> Unit)
Link copied to clipboard
abstract fun afterRollback(function: () -> Unit)
Link copied to clipboard
abstract fun rollback(returnValue: R): Nothing

Rolls back this transaction.

Link copied to clipboard
abstract fun <R> transaction(body: TransactionWithReturn<R>.() -> R): R

Begin an inner transaction.