Interface IRecoveryCallback<T>
Typed callback for stateful retry after all tries are exhausted
Namespace: Steeltoe.Common.Retry
Assembly: Steeltoe.Common.Abstractions.dll
Syntax
public interface IRecoveryCallback<out T> : IRecoveryCallback
Type Parameters
Name | Description |
---|---|
T | the type returned from callback |
Methods
| Edit this page View SourceRecover(IRetryContext)
The callback that is issued
Declaration
T Recover(IRetryContext context)
Parameters
Type | Name | Description |
---|---|---|
IRetryContext | context | the current retry context |
Returns
Type | Description |
---|---|
T | an object that can be used to replace the callback result that failed |