InterceptorOutcome

sealed interface InterceptorOutcome

Outcome returned by a SagaInterceptor after intercepting a phase.

Inheritors

Types

Link copied to clipboard

Allow execution to continue normally.

Link copied to clipboard
data class Veto(val reason: String, val cause: Throwable? = null) : InterceptorOutcome

Veto the step: abort execution and compensate prior completed steps.