Skip to main content

Interface: $Properties

Properties of a WorkerSlotsInfo.

Extended by​

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.


currentUsedSlots?​

optional currentUsedSlots?: number | null

Number of slots used by the worker for specific tasks.


lastIntervalFailureTasks?​

optional lastIntervalFailureTasks?: number | null

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


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.


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"


totalFailedTasks?​

optional totalFailedTasks?: number | null

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


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.