export interface WorkerChoiceStrategyOptions {
/**
* Use tasks median run time instead of average run time.
+ *
+ * @defaultValue false
*/
medRunTime?: boolean
}
/**
* Pool worker tasks usage statistics requirements.
+ *
+ * @internal
*/
export interface RequiredStatistics {
/**
* @param workerNodeKey - The worker node key.
*/
remove: (workerNodeKey: number) => boolean
+ /**
+ * Sets the worker choice strategy options.
+ *
+ * @param opts - The worker choice strategy options.
+ */
+ setOptions: (opts: WorkerChoiceStrategyOptions) => void
}