A FIFO queue that runs each task to completion before the next task is started.
new CompletionQueue(name [, callbacks])
Creates a completion queue instance.
CompletionQueue inherits from Queue. It only differs
with its flush method that prevents repeat
from running tasks until the first
.flush call is complete.
The name of the queue used for logging.
Optional. An object containing callbacks
onFirstTask- is called when the first task is added to an empty queue
onComplete- is called when the queue is empty.
An instance of