Method | Description | |
---|---|---|
StartDelayTimer ( System.Action action, System.TimeSpan delay ) : void |
Start a count down with the given delay, and fire the given action when it reaches zero. But if this method is called again before the timeout it resets the timeout and starts again.
|
|
StopDelayTimer ( ) : void |
Method | Description | |
---|---|---|
OnDelayTimerTick ( object state ) : void |
public StartDelayTimer ( System.Action action, System.TimeSpan delay ) : void | ||
action | System.Action | The action to perform when the delay is reached |
delay | System.TimeSpan | The timeout before calling the action |
return | void |