/// <summary> /// Invoke the tick action /// </summary> internal void DoSomething() { if (TickTask != null) { TickTask.Invoke(); } }
/// <summary> /// End this timer and call the completion callback specified by Then /// </summary> internal void End() { Cancelled = true; if (completionCallback != null) { completionCallback.Invoke(); } }