RateLimiter.jl Documentation

Functions

RateLimiter.TokenBucketRateLimiterType

Token-Bucket rate limiter. This limiter is used to control for constraints such as bandwidth and burstiness.

See: https://en.wikipedia.org/wiki/Token_bucket#Algorithm

source
RateLimiter.@rate_limitMacro
@rate_limit(limiter, cost, expr)

A macro to limit the rate an expression can be called.

Arguments

- `limiter`: rate limiter
- `cost`: cost of executing the method.
- `expr`: expression to be evaluated
source

Index