+
+ /**
+ * Whether the pool is busy or not.
+ *
+ * The pool busyness boolean status.
+ */
+ readonly busy: boolean
+
+ /**
+ * Number of tasks currently concurrently running.
+ */
+ readonly numberOfRunningTasks: number
+
+ /**
+ * Find a free worker based on the number of tasks the worker has applied.
+ *
+ * If a worker is found with `0` running tasks, it is detected as free and returned.
+ *
+ * If no free worker is found, `false` is returned.
+ *
+ * @returns A free worker if there is one, otherwise `false`.
+ */
+ findFreeWorker(): Worker | false
+
+ /**
+ * Get worker index.
+ *
+ * @param worker The worker.
+ * @returns The worker index.
+ */
+ getWorkerIndex(worker: Worker): number
+
+ /**
+ * Get worker running tasks.
+ *
+ * @param worker The worker.
+ * @returns The number of tasks currently running on the worker.
+ */
+ getWorkerRunningTasks(worker: Worker): number | undefined
+
+ /**
+ * Get worker average tasks runtime.
+ *
+ * @param worker The worker.
+ * @returns The average tasks runtime on the worker.
+ */
+ getWorkerAverageTasksRunTime(worker: Worker): number | undefined