Properties
activeJobs
activeJobs: number = 0
Protected cancelWorkflowOnException
cancelWorkflowOnException: boolean = false
jobBatchMinSize
jobBatchMinSize: number
Protected logger
logger: StatefulLogInterceptor
maxJobsToActivate
maxJobsToActivate: number
pollCount
pollCount: number = 0
taskType
taskType: string
timeout
timeout: MaybeTimeDuration
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.