rollableBackOperation

suspend fun <T> TransactionsDSL.rollableBackOperation(rollback: suspend RollbackContext<T>.() -> Unit, action: suspend () -> T): T(source)

Calls action and, if it succeeded - saving rollback action for future usage for cases when some other action or even main one throwing an error

Parameters

rollback

Will be called if