Wraps f so at most n calls are permitted within any rolling
period-second window. When the limit is reached, either sleeps until
a slot opens (.wait = TRUE, the default) or raises an error of class
"fmisc_rate_limit_exceeded" (.wait = FALSE).
See also
Other decorators:
cache_clear(),
decorate(),
fmisc_decorators,
is_decorated(),
print.fmisc_decorated(),
undecorate(),
with_cache(),
with_logging(),
with_retry(),
with_timing()