Skip to content

Commit

Permalink
BRY-EVA return changes peek (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rattenkrieg committed Jul 12, 2023
1 parent 401550c commit 5c98f9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eva-uow/src/main/kotlin/com/razz/eva/uow/UnitOfWork.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ abstract class BaseUnitOfWork<PRINCIPAL, PARAMS, RESULT, C>(

protected abstract suspend fun changes(init: suspend C.() -> RESULT): Changes<RESULT>

protected fun <R> Changes<R>.result(): R = this.result

data class Configuration(
val retry: Retry? = DEFAULT,
val supportsOutOfOrderPersisting: Boolean = false
Expand Down

0 comments on commit 5c98f9f

Please sign in to comment.