Optional
autoOptional
concurrencyConcurrency limit.
Minimum: 1
.
Optional
maxIf the queue size grows to larger than this number the promise returned from the add function will reject
Optional
sortAn optional function that will sort the queue after a job has been added
If false,
.start
will need to be called to start processing jobs