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