Table of Contents

Method OnRetry

Namespace
LMKit.Agents.Resilience
Assembly
LM-Kit.NET.dll

OnRetry(Action<Exception, int>)

Sets a callback for retry events.

public ResilientAgentExecutor OnRetry(Action<Exception, int> onRetry)

Parameters

onRetry Action<Exception, int>

Callback with exception and attempt number.

Returns

ResilientAgentExecutor

This executor for method chaining.