toolkit.whenQuiet | R Documentation |
The returned function can be called as often as you like with
whatever arguments you like. If it is called again within
ticks
ticks (a tick is 100ms), this call is ignored. If
it is not called again within this time, the arguments are passed
on to the delegate function. In other words, in a string of calls
less than ticks
x 100ms apart from each other, only
the last of these calls actually happens.
ticks |
|
f |
|
Function that can be called often, resulting in fewer
calls to the delegate function f
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.