A function, returning the Mongo database.
The instance or the promise with it.
Optional
getA function, returning a custom logger.
The logger to ise.
Optional
getA custom function, returning the name of the system.
A value representing the name of the system.
Optional
setCustom setImmediate
function.
Optional
setCustom setTimeout
function.
Optional
taskThe custom name of the collection for the tasks. Default: queueTasks
Optional
waitThe custom time in milliseconds to wait, before a failed task is done to be executed. Default: 10000
Generated using TypeDoc
Options for a (new)
MongoQueueStorage
instance.