Method OnRetry
- Namespace
- LMKit.Agents.Resilience
- Assembly
- LM-Kit.NET.dll
OnRetry(Action<Exception, int, TimeSpan>)
Sets a callback invoked before each retry.
public RetryPolicy OnRetry(Action<Exception, int, TimeSpan> onRetry)
Parameters
Returns
- RetryPolicy
This policy for method chaining.