Completed

data class Completed<out A>(val result: A, val finalAttemptMetrics: AttemptMetrics, val previousAttempts: List<FailedAttempt>) : RetriesOutcome<A>

The operation succeeded on its final attempt.

Constructors

Link copied to clipboard
constructor(result: A, finalAttemptMetrics: AttemptMetrics, previousAttempts: List<FailedAttempt>)

Properties

Link copied to clipboard

Metrics of the final attempt (the successful one on Completed, the last failed one on Failed).

Link copied to clipboard
open override val previousAttempts: List<FailedAttempt>

Every failed attempt that preceded the final attempt, in execution order.

Link copied to clipboard
val result: A

Value produced by the successful attempt.