import { DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS } from '../../utils'
-import { PoolType, type IPool } from '../pool'
+import { type IPool, PoolType } from '../pool'
import type { IWorker } from '../worker'
import type {
IWorkerChoiceStrategy,
* @returns A worker node key if there is one, `-1` otherwise.
*/
private findLastFreeWorkerNodeKey (): number {
- // It requires node >= 18.0.0
+ // It requires node >= 18.0.0:
// return this.workerNodes.findLastIndex(workerNode => {
// return workerNode.tasksUsage?.running === 0
// })