<PackageReference Include="Polly.Core" Version="8.0.0-alpha.7" />

TimeoutStrategyOptions

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

Gets or sets the timeout that's raised when timeout occurs.

public TimeSpan Timeout { get; set; }

Gets or sets the default timeout.

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