Discord Player

SequentialBucket

No description provided

SequentialBucket

new SequentialBucket();

Properties

public MAX_RETRIES: any

public limit: any

public queue: any

public remaining: any

public resetAfter: any

Methods

public enqueue(req): Promise<Response>

Enqueues a request.

ParameterTypeOptionalDescription
reqRequestEntityThe request function to enqueue

public isRateLimited(): boolean

Checks if the bucket is rate limited.

On this page