@camunda8/sdk
    Preparing search index...

    Class ZBWorkerBase<WorkerInputVariables, CustomHeaderShape, WorkerOutputVariables>

    Type Parameters

    • WorkerInputVariables = any
    • CustomHeaderShape = any
    • WorkerOutputVariables = any

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    activeJobs: number = 0
    backoffTimeout: undefined | Timeout
    cancelWorkflowOnException: boolean = false
    grpcClient: ZBGrpc
    maxJobsToActivate: number
    pollCount: number = 0
    taskType: string
    timeout: MaybeTimeDuration
    zbClient: ZeebeGrpcClient

    Methods

    • Returns a promise that the worker has stopped accepting tasks and has drained all current active tasks. Will reject if you try to call it more than once.

      Parameters

      • Optionaltimeout: number

      Returns Promise<null>