11 lines
205 B
TypeScript
11 lines
205 B
TypeScript
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;
|
|
};
|