Function setTimer
Returns a new armed timer.
Prototype
Timer setTimer( core.time.Duration timeout, void delegate() callback, bool periodic );
Parameters
Name | Description |
---|---|
timeout | Determines the minimum amount of time that elapses before the timer fires. |
callback | This delegate will be called when the timer fires |
periodic | Speficies if the timer fires repeatedly or only once |
Returns
Returns a Timer object that can be used to identify and modify the timer.
Authors
Sönke Ludwig
Copyright
© 2012-2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.