The function type being rate limited
Maximum number of calls allowed within the time window
OptionalonCallback invoked when rate limit is exceeded
OptionalthrowsWhether to throw an error when limit is exceeded (default: true)
OptionalwindowTime window in milliseconds for rate limiting (default: 1000)
Configuration options for rate limiting behavior when creating a new bucket.