Throttle

Adds metadata to the target which will be handled by the ThrottlerGuard to handle incoming requests based on the given metadata.


const Throttle: (limit?: number, ttl?: number) => MethodDecorator & ClassDecorator;