Interface ZBWorkerConstructorConfig<WorkerInputVariables, CustomHeaderShape, WorkerOutputVariables>

interface ZBWorkerConstructorConfig<WorkerInputVariables, CustomHeaderShape, WorkerOutputVariables> {
    customHeadersDto?: (new (...args) => Readonly<CustomHeaderShape>);
    grpcClient: ZBGrpc;
    id: null | string;
    idColor: Chalk;
    inputVariableDto?: (new (...args) => Readonly<WorkerInputVariables>);
    log: StatefulLogInterceptor;
    options: ZBWorkerOptions<WorkerInputVariables> & ZBClientOptions;
    taskHandler: ZBWorkerTaskHandler<WorkerInputVariables, CustomHeaderShape, WorkerOutputVariables>;
    taskType: string;
    tenantIds: undefined | string[] | [string];
    zbClient: ZeebeGrpcClient;
}

Type Parameters

  • WorkerInputVariables
  • CustomHeaderShape
  • WorkerOutputVariables

Properties

customHeadersDto?: (new (...args) => Readonly<CustomHeaderShape>)

Type declaration

grpcClient: ZBGrpc
id: null | string
idColor: Chalk
inputVariableDto?: (new (...args) => Readonly<WorkerInputVariables>)

Type declaration

taskType: string
tenantIds: undefined | string[] | [string]
zbClient: ZeebeGrpcClient

Generated using TypeDoc