Table of Contents

Property TimeUntilNextCallback

Namespace
KZDev.PrimeTime
Assembly
KZDev.PrimeTime.dll

TimeUntilNextCallback

Returns the time remaining until the next scheduled callback for this registration.

long TimeUntilNextCallback { get; }

Property Value

long

Remarks

Value is in milliseconds. Returns -1 when there is no next callback (for example, the registration is cancelled or disposed and will not fire again).

Remaining time uses UTC instant arithmetic: the next scheduled instant is stored in UTC form and compared to the virtual UTC now. Local time-of-day registrations still derive that scheduled instant from the virtual local calendar day; UTC registrations from the virtual UTC day.