UNPKG

node-hue-api

Version:
9 lines (8 loc) 300 B
import { RateLimit } from './HueApiRateLimits'; export declare class HueRateLimiter { private readonly limiterName; private readonly bottleneck; private id; constructor(bridgeName: string, name: string, rateLimit: RateLimit); schedule(fn: () => PromiseLike<any>): Promise<any>; }