RateLimiter: {
    schedule: (<T>(task: (() => Promise<T>)) => Promise<T>);
}

Type declaration

  • schedule: (<T>(task: (() => Promise<T>)) => Promise<T>)
      • <T>(task: (() => Promise<T>)): Promise<T>
      • Type Parameters

        • T

        Parameters

        • task: (() => Promise<T>)
            • (): Promise<T>
            • Returns Promise<T>

        Returns Promise<T>

Generated using TypeDoc