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

OnLatencyInjectedArguments

Arguments used by the latency chaos strategy to notify that a latency was injected.
using System; using System.Runtime.CompilerServices; namespace Polly.Simmy.Latency { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public readonly struct OnLatencyInjectedArguments { public ResilienceContext Context { get; } public TimeSpan Latency { get; } public OnLatencyInjectedArguments(ResilienceContext context, TimeSpan latency) { Context = context; Latency = latency; } } }