RateLimiter
Rate limiting functionality.
Constants
VERSION = "1.0.1"
Constructors
Creates a new Limiter.
rate: the rate of tokens being produced in tokens/second.
max_burst: maximum number of tokens that can be stored in the bucket.
Creates a new Limiter.
interval: the interval at which new tokens are generated.
max_burst: maximum number of tokens that can be stored in the bucket.