UNPKG

zeebe-node

Version:

The Node.js client library for the Zeebe Workflow Automation Engine.

8 lines (7 loc) 606 B
import * as ZB from '../lib/interfaces-1.0'; import { ZBWorkerBase, ZBWorkerConstructorConfig } from '../lib/ZBWorkerBase'; export declare class ZBWorker<WorkerInputVariables, CustomHeaderShape, WorkerOutputVariables> extends ZBWorkerBase<WorkerInputVariables, CustomHeaderShape, WorkerOutputVariables> { constructor(config: ZBWorkerConstructorConfig<WorkerInputVariables, CustomHeaderShape, WorkerOutputVariables>); protected handleJobs(jobs: ZB.Job<WorkerInputVariables, CustomHeaderShape>[]): void; protected handleJob(job: ZB.Job<WorkerInputVariables, CustomHeaderShape>): Promise<void>; }