StatefulSagaStepConfiguration

Configuration scope for a stateful saga step, enabling fluent chaining.

Constructors

Link copied to clipboard
constructor(builder: StatefulSagaBuilder<C, R, S>)

Types

Link copied to clipboard
inner class IdempotentMarker

Wrapper for the "idempotent" keyword.

Link copied to clipboard
inner class ThenDoWrapper

Wrapper for the "then" keyword to define subsequent steps.

Link copied to clipboard
inner class UndoWrapper

Wrapper for the "undo" keyword in compensation configuration.

Properties

Link copied to clipboard

Starts compensation configuration.

Link copied to clipboard

Starts idempotency configuration.

Link copied to clipboard

Starts the next step configuration.

Functions

Link copied to clipboard

Extension to allow chaining after StatefulSagaStepConfiguration.

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

Defines compensation logic with fluent "otherwise { ... }" syntax.