Table of Contents

Interface IRecoveryCallback

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

Callback for stateful retry after all tries are exhausted

public interface IRecoveryCallback

Methods

Recover(IRetryContext)

The callback that is issued

object Recover(IRetryContext context)

Parameters

context IRetryContext

the current retry context

Returns

object

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