Type alias CamundaJobWorkerEvents
CamundaJobWorkerEvents: {
poll: (({
currentlyActiveJobCount,
maxJobsToActivate,
worker,
}) => void);
pollError: ((error) => void);
start: (() => void);
stop: (() => void);
}
Type declaration
poll: (({
currentlyActiveJobCount,
maxJobsToActivate,
worker,
}) => void)
- ({
currentlyActiveJobCount,
maxJobsToActivate,
worker,
}): void
Parameters
- {
currentlyActiveJobCount,
maxJobsToActivate,
worker,
}: {
currentlyActiveJobCount: number;
maxJobsToActivate: number;
worker: string;
}currentlyActiveJobCount: number
maxJobsToActivate: number
worker: string
Returns void
pollError: ((error) => void)
- (error): void
Returns void
start: (() => void)
stop: (() => void)