UNPKG

agenda

Version:

Light weight job scheduler for Node.js

12 lines (10 loc) 205 B
import { Job } from "."; /** * Prevents the job type from running * @name Job#disable * @function */ export const disable = function (this: Job): Job { this.attrs.disabled = true; return this; };