<PackageReference Include="Polly.Core" Version="8.0.0-beta.2" />

TimeoutStrategyOptions

Represents the options for the timeout strategy.
public Func<OnTimeoutArguments, ValueTask> OnTimeout { get; set; }

Gets or sets the timeout delegate that raised when timeout occurs.

public TimeSpan Timeout { get; set; }

Gets or sets the default timeout.

Gets or sets a timeout generator that generates the timeout for a given execution.

Initializes a new instance of the TimeoutStrategyOptions class.