modernuo/Projects/Server/Timer
Kamron Batman cc6d029add
fix: Fixes timer Delay/Next not handling MinValue inputs (#1985)
### Summary

Fixes a few minor issues with timers:
- Timer.Delay and Timer.Interval was not reflecting the actual tick time (aligned to the next 8ms)
- Negative delay values were causing a crash when DateTime.Now - delay was below DateTime.MinValue
- Timer.Next now reflects the correct wall clock tick time based on the adjusted Delay.
- Timer.Next is not assigned when the timer is started. This was important for timers that were created, but started later.
2024-10-28 17:48:16 -07:00
..
Timer.cs fix: Fixes timer Delay/Next not handling MinValue inputs (#1985) 2024-10-28 17:48:16 -07:00
Timer.DelayCall.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
Timer.DelayStateCall.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
Timer.Pool.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
Timer.TimerWheel.cs fix: Fixes timer Delay/Next not handling MinValue inputs (#1985) 2024-10-28 17:48:16 -07:00
TimerExecutionToken.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00