RetryDelayStrategyContext

data class RetryDelayStrategyContext(val lastThrowable: Throwable? = null, val lastResult: Any? = null)(source)

Represents additional context to the RetryDelayStrategy.

Parameters

lastThrowable

The last throwable caught that was recorded as a failure, if any.

lastResult

The result of the last successful attempt that was recorded as a failure, if any.

Constructors

Link copied to clipboard
constructor(lastThrowable: Throwable? = null, lastResult: Any? = null)

Properties

Link copied to clipboard
val lastResult: Any? = null
Link copied to clipboard