Method AdvanceTime
AdvanceTime(TimeSpan)
Moves the clock forward and activates anything that became due.
public ValueTask AdvanceTime(TimeSpan by)
Parameters
byTimeSpan
Returns
Remarks
Does not execute: call RunUntilIdleAsync(bool, CancellationToken) after, so a test can advance and assert that something is ready without running it.