Created
October 10, 2012 09:27
-
-
Save kuno/3864345 to your computer and use it in GitHub Desktop.
kue worker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var kue = require('kue'); | |
var jobs = kue.createQueue(); | |
job.process('email', function(job done) { | |
console.log(job.data); | |
done.call(this); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment