transaction With Result
open suspend override fun <R> transactionWithResult(noEnclosing: Boolean, bodyWithReturn: suspend SuspendingTransactionWithReturn<R>.() -> R): R
Content copied to clipboard
Starts a Transaction and runs body in that transaction.
Throws
Illegal State Exception
if noEnclosing is true and there is already an active Transaction on this thread.