@hubspot/api-client
Version:
NodeJS v3 [HubSpot API](https://developers.hubspot.com/docs/api/overview) SDK(Client) files
9 lines (8 loc) • 400 B
TypeScript
import Bottleneck from 'bottleneck';
import IDecorator from './IDecorator';
export default class LimiterDecorator implements IDecorator {
protected limiter: Bottleneck | undefined;
protected limiterJobOptions: Bottleneck.JobOptions;
constructor(limiterOptions: Bottleneck.ConstructorOptions, limiterJobOptions?: Bottleneck.JobOptions);
decorate(method: any): (...args: any) => any;
}