Skipped

data class Skipped(val skipReason: TypedValue) : StepOutcome<Nothing>

Step skipped with a reason.

The saga will skip all remaining steps and return the last successful result without triggering any compensation.

Parameters

skipReason

The reason for skipping wrapped in TypedValue

Constructors

Link copied to clipboard
constructor(skipReason: TypedValue)

Properties

Link copied to clipboard

String representation of the skip reason. Provided for backward compatibility.

Link copied to clipboard

Functions

Link copied to clipboard
inline fun <E : Enum<E>> reasonAs(): E?

Retrieves the skip reason as the specified enum type.