agenda
Version:
Light weight job scheduler for Node.js
17 lines • 463 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.unique = void 0;
/**
* Data to ensure is unique for job to be created
* @name Job#unique
* @function
* @param unique mongo data query for unique
* @param options unique options
*/
const unique = function (unique, options) {
this.attrs.unique = unique;
this.attrs.uniqueOpts = options;
return this;
};
exports.unique = unique;
//# sourceMappingURL=unique.js.map
;