FallbackStrategyOptions<TResult>
Represents the options for configuring a fallback resilience strategy with a specific result type.
public Func<OutcomeArguments<TResult, HandleFallbackArguments>, ValueTask<Outcome<TResult>>> FallbackAction { get; set; }
Gets or sets the fallback action to be executed when the ShouldHandle predicate evaluates as true.
Gets or sets the outcome event instance responsible for triggering fallback events.
public Func<OutcomeArguments<TResult, HandleFallbackArguments>, ValueTask<bool>> ShouldHandle { get; set; }
Gets or sets the outcome predicate for determining whether a fallback should be executed.
public FallbackStrategyOptions()