Interface: JobEventsDict
job/job.JobEventsDict
Table of contents
Properties
Properties
created
• created: () => void
Emitted immediately after the job is created and initialization begins.
Type declaration
▸ (): void
Emitted immediately after the job is created and initialization begins.
Returns
void
Defined in
started
• started: () => void
Emitted when the job finishes initialization and work begins.
Type declaration
▸ (): void
Emitted when the job finishes initialization and work begins.
Returns
void
Defined in
success
• success: () => void
Emitted when the job completes successfully and cleanup begins.
Type declaration
▸ (): void
Emitted when the job completes successfully and cleanup begins.
Returns
void
Defined in
error
• error: (error: Error) => void
Emitted when the job fails and cleanup begins.
Type declaration
▸ (error): void
Emitted when the job fails and cleanup begins.
Parameters
| Name | Type | 
|---|---|
| error | Error | 
Returns
void
Defined in
canceled
• canceled: () => void
Emitted when the job is canceled by the user.
Type declaration
▸ (): void
Emitted when the job is canceled by the user.
Returns
void
Defined in
ended
• ended: () => void
Emitted when the job finishes cleanup after success, error or cancelation.
Type declaration
▸ (): void
Emitted when the job finishes cleanup after success, error or cancelation.
Returns
void