CompensationCompleted

data class CompensationCompleted(val step: TypedValue, val timestamp: Long = System.currentTimeMillis()) : SagaEvent

Emitted when compensation completes successfully.

Constructors

Link copied to clipboard
constructor(step: TypedValue, timestamp: Long = System.currentTimeMillis())

Properties

Link copied to clipboard

The step identifier wrapped in TypedValue

Link copied to clipboard

String representation for backward compatibility.

Link copied to clipboard
open override val timestamp: Long

Timestamp when the event occurred (milliseconds since epoch).

Functions

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

Retrieves step as specified enum type.