return this.pool.workerNodes[workerNodeKey].info.ready
}
+ /**
+ * Whether the worker node has back pressure or not (i.e. its tasks queue is full).
+ *
+ * @param workerNodeKey - The worker node key.
+ * @returns `true` if the worker node has back pressure, `false` otherwise.
+ */
+ protected hasWorkerNodeBackPressure (workerNodeKey: number): boolean {
+ return this.pool.hasWorkerNodeBackPressure(workerNodeKey)
+ }
+
/**
* Gets the worker task runtime.
* If the task statistics require the average runtime, the average runtime is returned.