A callback function that is called when the rate-limited queue spills.
ItemType The type of items in the queue.
An array of items that were spilled from the queue.
A Promise that resolves when the callback has completed.
A callback function that is called when the rate-limited queue spills.
Typeparam
ItemType The type of items in the queue.
Param
An array of items that were spilled from the queue.
Returns
A Promise that resolves when the callback has completed.