class WeightedStrategy
implements Strategy
Weighted strategy that distributes traffic based on configured weights.
This strategy uses weighted random selection to distribute messages across transports proportionally to their configured weights. A transport with weight 2 will receive approximately twice as many messages as a transport with weight 1.
reset(): void
Resets the strategy (no-op for weighted strategy as it's stateless).
select(): TransportSelection | undefined
Selects a transport based on weighted random distribution.