Creates a new instance of the RateLimitedQueueClient.
The name of the queue.
The connection and queue configuration options.
Optional
callback: RateLimitedSpillCallback<ItemType>The callback function to call when the queue spills.
The configuration options for the queue.
An error if the perInterval or interval values are invalid.
Returns a boolean indicating whether or not the queue has been shut down.
A boolean indicating whether or not the queue has been shut down.
Returns a boolean indicating whether or not the queue is running.
A boolean indicating whether or not the queue is running.
Returns a boolean indicating whether or not the queue is currently processing a tick.
A boolean indicating whether or not the queue is currently processing a tick.
Sets the callback function to be called when the rate-limited queue spills.
The callback function to call when the queue spills.
void
ItemType The type of items in the queue.
A rate-limited queue client that allows you to limit the rate at which messages are processed.
Typeparam
ItemType The type of items in the queue.