transaction
abstract fun transaction(noEnclosing: Boolean = false, body: TransactionWithoutReturn.() -> Unit)
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.