BuiltInTakeAlgorithmInternalBuilt-in lane take algorithms for WorkPoolConfigBase.takeAlgorithm.
"priority"— lowest level index first (default; classic high → normal → low on 3 levels)."strict-descending"— highest level index first (can starve lower levels)."weighted"— virtual-time weighted fair queuing; level index is the weight (≥ 1).
modelsWorkPoolConfigBase.takeAlgorithm
Source src/internal/workPool.ts:1731 lines
export type type BuiltInTakeAlgorithm =
| "priority"
| "strict-descending"
| "weighted"
Built-in lane take algorithms for
WorkPoolConfigBase.takeAlgorithm
.
"priority" — lowest level index first (default; classic high → normal → low on 3 levels).
"strict-descending" — highest level index first (can starve lower levels).
"weighted" — virtual-time weighted fair queuing; level index is the weight (≥ 1).
BuiltInTakeAlgorithm = type BuiltInTakeAlgorithmInternal = "priority" | "strict-descending" | "weighted"Built-in take algorithms shipped by the package.
BuiltInTakeAlgorithmInternal;