Method TriggerLagSpikeAsync
TriggerLagSpikeAsync(TimeSpan)
Simulates a lag spike for the specified duration.
Declaration
public Task TriggerLagSpikeAsync(TimeSpan duration)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | duration | The duration for which the lag spike shall last. |
Returns
Type | Description |
---|---|
Task | The task that runs for the duration of the lag spike. |