class WeightedRoundRobinWorkerChoiceStrategy
implements IWorkerChoiceStrategy
import { WeightedRoundRobinWorkerChoiceStrategy } from "https://deno.land/x/poolifier@v0.3.14/src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts";
Selects the next worker with a weighted round robin scheduling algorithm. Loosely modeled after the weighted round robin queueing algorithm: https://en.wikipedia.org/wiki/Weighted_round_robin.
Constructors
new
WeightedRoundRobinWorkerChoiceStrategy(pool: IPool<Worker, Data, Response>, opts?: WorkerChoiceStrategyOptions)Properties
readonly
taskStatisticsRequirements: TaskStatisticsRequirements