Interface ITimeManager
A wrapper around the .NET Task.Delay method. This is useful for testing purposes, where the delay can be faked.
public interface ITimeManager
Methods
Delay(TimeSpan, CancellationToken)
Delays the current thread for a specified time.
Task Delay(TimeSpan delay, CancellationToken token)
Parameters
delay
TimeSpantoken
CancellationToken