A queue that manages its items with promises.
@augment-vir/common
Protected
The current size of the queue.
Add an item to the queue.
A promise that resolves at the same time as the added item.
Handles a queue item finishing, whether it be a rejection or a resolution.
Tries to trigger the next queue item, if there is one.
Whether a new queue item was triggered or not. true if it was, otherwise false.
true
false
A queue that manages its items with promises.
Package
@augment-vir/common