+import type { WorkerChoiceStrategy } from './selection-strategies'
+
/**
* Contract definition for a poolifier pool.
*
* Shut down every current worker in this pool.
*/
destroy(): Promise<void>
+ /**
+ * Set the worker choice strategy in this pool.
+ *
+ * @param workerChoiceStrategy The worker choice strategy.
+ */
+ setWorkerChoiceStrategy(workerChoiceStrategy: WorkerChoiceStrategy): void
}