SuspendingTransactionWithReturn

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 suspend fun <R> transaction(body: suspend SuspendingTransactionWithReturn<R>.() -> R): R

Begin an inner transaction.