Skip to content

NodeDisque/disque

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disque

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

Disque client for Node and io.js based on ioredis.

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

Install

$ npm install disque

Usage

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

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