UNPKG

jqueue

Version:

MySQL backed plugable Node.js job queue based on the Beanstalk Job Lifecycle

11 lines (10 loc) 234 B
function callBack(cb, error, data, other) { if(cb) { try { cb(error, data, other); } catch (err) { console.log('CALLBACK ERROR', err); } } } module.exports = callBack;