Skip to main content

Interface: IWorkerSlotsInfo

Properties of a WorkerSlotsInfo.

Extends​

Properties​

currentAvailableSlots?​

optional currentAvailableSlots?: number | null

Number of slots available for the worker to specific tasks. May be -1 if the upper bound is not known.

Inherited from​

$Properties.currentAvailableSlots


currentUsedSlots?​

optional currentUsedSlots?: number | null

Number of slots used by the worker for specific tasks.

Inherited from​

$Properties.currentUsedSlots


lastIntervalFailureTasks?​

optional lastIntervalFailureTasks?: number | null

Number of failed tasks processed since the last heartbeat from the worker.

Inherited from​

$Properties.lastIntervalFailureTasks


lastIntervalProcessedTasks?​

optional lastIntervalProcessedTasks?: number | null

Number of tasks processed in since the last heartbeat from the worker. This is a cumulative counter, and it is reset to 0 each time the worker sends a heartbeat. Contains both successful and failed tasks.

Inherited from​

$Properties.lastIntervalProcessedTasks


slotSupplierKind?​

optional slotSupplierKind?: string | null

Kind of the slot supplier, which is used to determine how the slots are allocated. Possible values: "Fixed | ResourceBased | Custom String"

Inherited from​

$Properties.slotSupplierKind


totalFailedTasks?​

optional totalFailedTasks?: number | null

Total number of failed tasks processed by the worker so far.

Inherited from​

$Properties.totalFailedTasks


totalProcessedTasks?​

optional totalProcessedTasks?: number | null

Total number of tasks processed (completed both successfully and unsuccesfully, or any other way) by the worker since the worker started. This is a cumulative counter.

Inherited from​

$Properties.totalProcessedTasks