UNPKG

badman-core

Version:

badman-core is the layer what all the badman packages depended,or can be used as a tool kit.

7 lines (6 loc) 288 B
import AbstractLoadBalancer from "./AbstractLoadBalancer"; import WeightValue from "./WeightValue"; export default class RoundRobinLoadBalancer<Value> extends AbstractLoadBalancer<Value> { constructor(pool: WeightValue<Value>[], isWeight?: boolean); pick(): WeightValue<Value>; }