Microservices Libs
Toggle table of contents
1.0.0
common
Target filter
common
Switch theme
Search in API
Skip to content
Microservices Libs
common
/
dev.limebeck.libs.db
/
runWithTransaction
run
With
Transaction
inline
fun
<
T
,
R
:
Any
>
TransactionService
<
R
>
.
runWithTransaction
(
scope
:
Scope
=
Scope.EMPTY
,
parentTransaction
:
Transaction
<
R
>
?
=
null
,
block
:
(
transaction
:
Transaction
<
R
>
)
->
T
)
:
T