Polly.Simmy.Latency.ChaosLatencyStrategyOptions
Represents the options for the latency chaos strategy.
namespace Polly.Simmy.Latency
{
public class ChaosLatencyStrategyOptions : ChaosStrategyOptions
{
public Func<OnLatencyInjectedArguments, ValueTask> OnLatencyInjected { get; set; }
public Func<LatencyGeneratorArguments, ValueTask<TimeSpan>> LatencyGenerator { get; set; }
public TimeSpan Latency { get; set; }
public ChaosLatencyStrategyOptions();
}
}