Package-level declarations
Types
Link copied to clipboard
Allows programmatic declaration of rate limiters using RateLimitProvider.
Link copied to clipboard
Interface to declare rate limits, ran once at startup.
Functions
Link copied to clipboard
fun RateLimitManager.cooldown(group: String, duration: Duration, scope: RateLimitScope = RateLimitScope.USER, deleteOnRefill: Boolean = true, block: ReceiverConsumer<RateLimitBuilder> = ReceiverConsumer.noop()): RateLimitInfo
Creates a rate limit-based cooldown.