jobby
v0.2.1
Published
YET ANOTHER REDIS JOB QUEUE!
Downloads
16
Readme
Jobby
YET ANOTHER REDIS JOB QUEUE!
Install
npm install jobby
Usage
var jobby = require('jobby');
var errorHandler = function (er, job) { console.error(er, job); };
jobby.jobs.mail = function (options, cb) {
// Do mail-ish things...
cb();
};
jobby
.connect(redisUrl)
.start(errorHandler);
.push('mail', {to: 'a', from: 'b', body: 'Hello!'});