lib/workflow-in-memory-backend.js
function createJob(job, meta, callback) {
            if (typeof (meta) === 'function') {
                callback = meta;
                meta = {};
            }

            job.created_at = job.created_at || new Date().toISOString();
            jobs[job.uuid] = clone(job);
            queued_jobs.push(job.uuid);
            if (typeof (job.locks) !== 'undefined') {
                locked_targets[job.uuid] = job.locks;
            }
            return callback(null, job);
        }
function createJob(job, meta, callback) {
            if (typeof (meta) === 'function') {
                callback = meta;
                meta = {};
            }

            job.created_at = job.created_at || new Date().toISOString();
            jobs[job.uuid] = clone(job);
            queued_jobs.push(job.uuid);
            if (typeof (job.locks) !== 'undefined') {
                locked_targets[job.uuid] = job.locks;
            }
            return callback(null, job);
        }
job - Job object meta - Any additional information to pass to the backend which is not job properties callback - f(err, job)