<PackageReference Include="Polly.Core" Version="8.2.0" />

LatencyStrategyOptions

Represents the options for the Latency chaos strategy.
public TimeSpan Latency { get; set; }

Gets or sets the delay for a given execution.

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

public Func<OnLatencyArguments, ValueTask> OnLatency { get; set; }

Gets or sets the delegate that's raised when a delay occurs.