A function that produces the rate-limiter key from the wrapped function's arguments. Each unique key gets its own rate-limit counter.
Maximum number of invocations allowed within the configured window.
OptionalonlyError?: booleanWhen true, only failed (errored) invocations count toward the rate
limit. Successful calls are ignored.
Settings for the rate-limiter middleware.