isProcessingJob
Defined in: packages/core/src/jobs/guards.ts:122
Type guard to check if a job is currently being processed.
A convenience helper for checking if a job is actively running.
Equivalent to job.status === JobStatus.PROCESSING but with better semantics.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Description |
|---|---|
T | The type of the job’s data payload |
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
job | Job<T> | The job to check |
Returns
Section titled “Returns”boolean
true if the job status is 'processing'