Skip to main content

QueueOptions

@discordeno/rest


Documentation / @discordeno/rest / QueueOptions

Interface: QueueOptions

Defined in: rest/src/queue.ts:223

Properties

deleteQueueDelay?

optional deleteQueueDelay: number

Defined in: rest/src/queue.ts:235

The time in milliseconds to wait before deleting this queue if it is empty. Defaults to 60000(one minute).


identifier

identifier: string

Defined in: rest/src/queue.ts:237

The base key that identifies this queue in the rest manager


interval?

optional interval: number

Defined in: rest/src/queue.ts:229

The time in milliseconds that discord allows to make the max number of invalid requests. Defaults to 0


max?

optional max: number

Defined in: rest/src/queue.ts:227

Max number of requests allowed in this this. Defaults to 1.


remaining?

optional remaining: number

Defined in: rest/src/queue.ts:225

How many requests are remaining. Defaults to 1


timeoutId?

optional timeoutId: Timeout

Defined in: rest/src/queue.ts:231

timer to reset to 0


url

url: string

Defined in: rest/src/queue.ts:233

The url this queue will be handling.