ReadonlynameThe name of the store (e.g. 'mongodb', 'redis', 'dynamodb')
ReadonlylibraryThe client library being used
Returns the underlying node-resque Queue for operations not wrapped here.
Enqueue a job onto a named queue via queue.enqueue(queue, name, args).
node-resque assigns no client-visible job id, so this resolves to null.
Register a Worker on a queue that runs handler for jobs on it. The
handler is added to the shared jobs map under the queue name, and one
worker is cached per queue name (a repeat process() returns it).
List queued jobs on a named queue (node-resque queue.queued(queue, start, stop)). node-resque has no addressable per-id lookup, so id is
interpreted as the 0-based index into the returned list.
Remove matching jobs from a queue via queue.del(queue, name, args).
id is the registered job name to delete.
Return the number of jobs currently queued on a named queue.
ResqueStorewraps a node-resqueQueuefor producing and a pool ofWorkers (one per queue name) for consuming, exposing the common queue surface.