Method timer2.after
Overload
Creates and starts new one-time timer.
public static timer2 after(long milliseconds, Action<timer2> timerAction, object tag = null)
Parameters
milliseconds (long)
Time interval after which to call the callback function. Valid values are 0 - uint.MaxValue - 2. If -1, stops without disposing. |
timerAction (Action<timer2>)
Callback function. |
tag (object)
Something to pass to the callback function as timer2.Tag. |