Interface IPeriodicTimer
- Namespace
- AdvanceFileUpload.API
- Assembly
- AdvanceFileUpload.API.dll
Represents a timer that provides periodic ticks for executing tasks.
public interface IPeriodicTimer : IDisposable
- Inherited Members
Properties
Period
Gets the period of the timer.
TimeSpan Period { get; }
Property Value
Methods
WaitForNextTickAsync(CancellationToken)
Waits asynchronously for the next tick of the timer.
ValueTask<bool> WaitForNextTickAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenA token to monitor for cancellation requests.