Table of Contents

Interface IRecoveryCallback<T>

Namespace
Steeltoe.Common.Retry
Assembly
Steeltoe.Common.Abstractions.dll

Typed callback for stateful retry after all tries are exhausted

public interface IRecoveryCallback<out T> : IRecoveryCallback

Type Parameters

T

the type returned from callback

Methods

Recover(IRetryContext)

The callback that is issued

T Recover(IRetryContext context)

Parameters

context IRetryContext

the current retry context

Returns

T

an object that can be used to replace the callback result that failed