Priority
job.priority(priority)
job.priority(priority)
Example Usage
const job = pulse.create('test', {});
job.priority('highest');
job.save(); // If you want to save it
Parameters
priority
(string
|number
): A priority label ('lowest'
,'low'
,'normal'
,'high'
,'highest'
) or a numeric value that corresponds to a predefined priority level.
Returns
Job
: Returns the job instance, enabling method chaining.
Last updated
Was this helpful?