| Timer | R Documentation |
Returned by set_timeout() and set_interval().
delayDelay (or interval) in seconds.
repeatingDoes the timer repeat?
dueClock time of the next run.
callbackFunction called when the timer fires.
activeIs the timer still scheduled?
runsHow many times the timer has fired.
Timer$new()Create a timer (use set_timeout() instead).
Timer$new(delay, callback, repeating, now)
delaySeconds.
callbackFunction.
repeatingLogical.
nowCurrent clock time.
Timer$cancel()Stop the timer.
Timer$cancel()
Timer$print()Print the timer.
Timer$print(...)
...Ignored.
Timer$clone()The objects of this class are cloneable with this method.
Timer$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.