Interface IClockIntervalTimer
Registration for an interval timer created from a clock's timer registration API; supporting change of due time and repeat interval (BCL TimeSpan subset).
public interface IClockIntervalTimer : IIntervalTimer, IClockTimer, ITimer, IDisposable, IAsyncDisposable
- Inherited Members
Remarks
This interface extends ITimer on all target frameworks.
On .NET 8+ the type is in the shared framework; on .NET Standard 2.0 (and .NET Framework
when using the same compatibility stack) it is supplied by the
Microsoft.Bcl.TimeProvider package referenced by this library.
Methods
- Change(Duration)
Changes the interval of this registration (NodaTime NodaTime.Duration overload).
- Change(Duration, Duration)
Changes the next callback time and, for repeating interval timers, the repeat interval (NodaTime NodaTime.Duration overload).
- Change(TimeSpan)
Changes the interval of this registration.