Table of Contents

Method AdvanceTime

Namespace
Millrace.Testing
Assembly
Millrace.Testing.dll

AdvanceTime(TimeSpan)

Moves the clock forward and activates anything that became due.

public ValueTask AdvanceTime(TimeSpan by)

Parameters

by TimeSpan

Returns

ValueTask

Remarks

Does not execute: call RunUntilIdleAsync(bool, CancellationToken) after, so a test can advance and assert that something is ready without running it.