Package-level declarations
Types
Functions
Link copied to clipboard
suspend fun <T> doSuspendTransaction(onRollbackStepError: suspend (Throwable) -> Unit = { }, block: suspend TransactionsDSL.() -> T): Result<T>
Starts transaction with opportunity to add actions rollableBackOperation. How to use:
Link copied to clipboard
suspend fun <T> TransactionsDSL.rollableBackOperation(rollback: suspend RollbackContext<T>.() -> Unit, action: suspend () -> T): T