Returns the number of guilds currently running or waiting on queued tasks.
Clear all queues.
Enqueue a task for a specific guild. Tasks for the same guild are executed sequentially, while tasks for different guilds run concurrently.
The guild identifier.
The async callback to execute.
The resolved value of the task.
Get the number of pending tasks for a specific guild.
Serialized per-guild asynchronous task queue. Guarantees FIFO execution of join reconciliation tasks per guild to prevent REST rate limits and race conditions during high-volume join storms.