Skip to main content

lockJob

Put a lock on the job.

This method is intended to be used by the processing worker before starting the job.

Returns whether or not the job was succesfully locked.

lockJob(
jobId: ID!
): Boolean!

Arguments​

lockJob.jobId ● ID! non-null scalar​

The id of the job to lock

Type​

Boolean scalar​

The Boolean scalar type represents true or false.