Success

data class Success<T>(val result: T?, val executedSteps: Int, val duration: Duration) : SagaResult<T> (source)

Saga completed successfully.

Constructors

Link copied to clipboard
constructor(result: T?, executedSteps: Int, duration: Duration)

Properties

Link copied to clipboard

Total execution time

Link copied to clipboard

Number of steps executed

Link copied to clipboard
val isSuccess: Boolean = true

Always true for Success.

Link copied to clipboard
val result: T?

The final result of the last step