QueueOptions
@discordeno/rest • Docs
Documentation / @discordeno/rest / QueueOptions
Interface: QueueOptions
Properties
deleteQueueDelay?
optional
deleteQueueDelay:number
The time in milliseconds to wait before deleting this queue if it is empty. Defaults to 60000(one minute).
Defined in
identifier
identifier:
string
The base key that identifies this queue in the rest manager
Defined in
interval?
optional
interval:number
The time in milliseconds that discord allows to make the max number of invalid requests. Defaults to 0
Defined in
max?
optional
max:number
Max number of requests allowed in this this. Defaults to 1.
Defined in
remaining?
optional
remaining:number
How many requests are remaining. Defaults to 1
Defined in
timeoutId?
optional
timeoutId:Timeout
timer to reset to 0
Defined in
url
url:
string
The url this queue will be handling.