Job type, used as selector for strategies in job processors
Job payload
Custom headers, used to pass specific information for job processors
Custom options, used to pass specific information for job processors
Create a new instance of JobHandler
job request object
Create a new instance of JobHandler
User job request identifier, defined by the user
Job payload
Optionaltype: TypeJob type, used as selector for strategies in job processors
Optionaloptions: Options<CustomHeaders, CustomOptions>JobHandler options
ReadonlycreatedDate object with the timestamp when the job was created
ReadonlyjobUser job request identifier, defined by the user
ReadonlyjobUnique user job request identification, based on jobUserId
Optional ReadonlyoptionsJob meta information, used to pass specific information for job processors
ReadonlytypeJob type, used as selector for strategies in job processors
ReadonlyuuidUnique job processing identification
True if the job task raised any error
Return the process time in msec
Register an event listener over the done event, which is emitted when a job has ended, either
due to completion or failure.
done event
The listener function to add
Removes the specified listener from the listener array for the done event.
done event
The listener function to remove
Register an event listener over the done event, which is emitted when a job has ended, either
due to completion or failure.
done event
The listener function to add
Registers a one-time event listener over the done event, which is emitted when a job has
ended, either due to completion or failure.
done event
The listener function to add
Registers a event listener over the done event, at the beginning of the listeners array,
which is emitted when a job has ended, either due to completion or failure.
done event
The listener function to add
Registers a one-time event listener over the done event, at the beginning of the listeners
array, which is emitted when a job has ended, either due to completion or failure.
done event
The listener function to add
Removes the specified listener from the listener array for the done event.
done event
The listener function to remove
Return an object with the key information of the job, this information is used by the plugs
JobHandler class