jobby

YET ANOTHER REDIS JOB QUEUE!

Usage no npm install needed!

<script type="module">
  import jobby from 'https://cdn.skypack.dev/jobby';
</script>

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!'});