npm.io
0.2.1 • Published 12 years ago

jobby

Licence
Version
0.2.1
Deps
3
Vulns
0
Weekly
0
Stars
1

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, errorHandler)
  .push('mail', {to: 'a', from: 'b', body: 'Hello!'});