A bucket.
Optional
add an item to the queue
the function to queue
if true, the item will be added to the front of the queue
A bucket.