tinq
Tinq is a TingoDB-backed job queue for Node.js. Initially forked from Monq.
Usage
Connect to TingoDB by specifying a valid path:
var tinq = ;var client = ;
Enqueue jobs by supplying a job name and a set of parameters. Below, the job reverse
is being placed into the example
queue:
var queue = client; queue;
Create workers to process the jobs from one or more queues. The functions responsible for performing a job must be registered with each worker:
var worker = client; worker; workerstart;
Events
Workers will emit various events while processing jobs:
worker;worker;worker;worker;
Install
npm install tinq
Tests
npm test
License
See LICENSE file.