Constructors

Properties

globalBlock: boolean = false
latencyRef: LatencyRef
options: {
    agent: undefined | null | Agent;
    baseURL: string;
    disableLatencyCompensation: boolean;
    host: string;
    latencyThreshold: number;
    ratelimiterOffset: number;
    requestTimeout: number;
    userAgent: undefined | string;
}
ratelimits: Record<string, SequentialBucket> = {}
readyQueue: (() => void)[] = []

Methods

  • Type Parameters

    • T = unknown

    Parameters

    Returns Promise<T>

  • Type Parameters

    • T = unknown

    Parameters

    Returns Promise<T>