*/
readonly clearTasksQueue: () => void
/**
- * Whether the worker node has back pressure.
+ * Whether the worker node has back pressure (i.e. its tasks queue is full).
*
* @returns `true` if the worker node has back pressure, `false` otherwise.
*/
readonly hasBackPressure: () => boolean
/**
- * Resets usage statistics .
+ * Resets usage statistics.
*/
readonly resetUsage: () => void
/**
* @param name - The task function name.
* @returns The task function worker usage statistics if the task function worker usage statistics are initialized, `undefined` otherwise.
*/
- readonly getTaskWorkerUsage: (name: string) => WorkerUsage | undefined
+ readonly getTaskFunctionWorkerUsage: (name: string) => WorkerUsage | undefined
}