RateLimit
RateLimit(
options): (target,propertyKey?,descriptor?) =>void
Defined in: src/decorators.ts:160
Decorator: Applies a rate limit to a class or method.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”(
target,propertyKey?,descriptor?):void
Parameters
Section titled “Parameters”target
Section titled “target”any
propertyKey?
Section titled “propertyKey?”string
descriptor?
Section titled “descriptor?”PropertyDescriptor
Returns
Section titled “Returns”void