SequentialBucket
No description provided
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.
Parameter | Type | Optional | Description |
---|---|---|---|
req | RequestEntity | ❌ | The request function to enqueue |
public isRateLimited(): boolean
Checks if the bucket is rate limited.