UndoWrapper

inner class UndoWrapper

Wrapper for the "undo" keyword in compensation configuration.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
infix fun undo(compensation: suspend CompensationScope<R, S>.() -> Unit): StatefulSagaStepConfiguration<C, R, S>

Defines compensation logic with "and undo { ... }" syntax.