brisque
A disque job queue built for node.js
Requirements
- disque.js
- hiredis
Installation
-
Latest release:
$ npm install brisque
Creating Jobs
You can send jobs to the disque by using the Job class.
client = disque;var promise = Job; promise;
Processing Jobs
Jobs can bre processed by using the worker class and listening to the events sent using the job name. So for the previous job the worker would look like this.
var client = disque;var worker = client: client;worker;workerstart;