UNPKG

agenda

Version:

Light weight job scheduler for Node.js

14 lines 417 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.priority = void 0; const utils_1 = require("../utils"); /** * Sets priority of the job * @param priority priority of when job should be queued */ const priority = function (priority) { this.attrs.priority = utils_1.parsePriority(priority); return this; }; exports.priority = priority; //# sourceMappingURL=priority.js.map