feat: add per task function strategy support
[poolifier.git] / src / pools / selection-strategies / abstract-worker-choice-strategy.ts
index 3618944c2043a07b1e8e709aa877d831b2bfc76b..eaa03f3d51b44e749798f55ec54315845322c54f 100644 (file)
@@ -1,8 +1,5 @@
 import type { IPool } from '../pool.js'
-import {
-  buildWorkerChoiceStrategyOptions,
-  DEFAULT_MEASUREMENT_STATISTICS_REQUIREMENTS
-} from '../utils.js'
+import { DEFAULT_MEASUREMENT_STATISTICS_REQUIREMENTS } from '../utils.js'
 import type { IWorker } from '../worker.js'
 import type {
   IWorkerChoiceStrategy,
@@ -11,6 +8,7 @@ import type {
   TaskStatisticsRequirements,
   WorkerChoiceStrategyOptions
 } from './selection-strategies-types.js'
+import { buildWorkerChoiceStrategyOptions } from './selection-strategies-utils.js'
 
 /**
  * Worker choice strategy abstract base class.