Description Usage Arguments See Also Examples
Create a new rate
1 | rate(n, period)
|
n |
Number of allowed events within a period |
period |
Length (in seconds) of measurement period |
1 2 3 4 5 | ## a function
f <- function() NULL
## limit f to 10 calls per second
limited_f <- limit_rate(f, rate(n = 10, period = 1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.