Table of Contents

Method OnFallback

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

OnFallback(Action<Agent, Exception, int>)

Sets a callback for fallback events.

public FallbackAgentExecutor OnFallback(Action<Agent, Exception, int> onFallback)

Parameters

onFallback Action<Agent, Exception, int>

Callback with failed agent, exception, and attempt number.

Returns

FallbackAgentExecutor

This executor for method chaining.