Method CreateTimer
CreateTimer(TimeSpan, Action)
Creates a timer that fires periodically.
ITimer CreateTimer(TimeSpan interval, Action callback)
Parameters
intervalTimeSpanThe interval between timer callbacks.
callbackActionThe action to invoke when the timer fires.
Returns
- ITimer
A timer instance that can be controlled.