disque

A redis-based job queue that never sucks

Usage no npm install needed!

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

README

Disque

Build Status Test Coverage Code Climate Dependency Status Join the chat at https://gitter.im/luin/disque

Disque client for Node and io.js

Support Node.js >= 0.11.16 or io.js.

Install

$ npm install disque

Usage

var disque = new Disque([
  { port: 7711, host: 'localhost' },
  { port: 7712, host: 'localhost' },
]);

disque.addjob('greeting', 'hello world!', 0, function () {
  console.log(arguments);
});