Interface IRecoveryCallback<T>
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
IRetryContextthe current retry context
Returns
- T
an object that can be used to replace the callback result that failed