diff --git a/CHANGELOG.md b/CHANGELOG.md index 8485878c..6bcd10f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,12 +7,12 @@ Adding: - lo.ChannelDispatcher with 6 dispatching strategies: - - DispatchingStrategyRoundRobin - - DispatchingStrategyRandom - - DispatchingStrategyWeightedRandom - - DispatchingStrategyFirst - - DispatchingStrategyLeast - - DispatchingStrategyMost + - lo.DispatchingStrategyRoundRobin + - lo.DispatchingStrategyRandom + - lo.DispatchingStrategyWeightedRandom + - lo.DispatchingStrategyFirst + - lo.DispatchingStrategyLeast + - lo.DispatchingStrategyMost ## 1.27.1 (2022-08-15) diff --git a/README.md b/README.md index cb1d1570..7fec142e 100644 --- a/README.md +++ b/README.md @@ -1091,12 +1091,12 @@ for i := range children { Many distributions strategies are available: -- [DispatchingStrategyRoundRobin](./channel.go): Distributes messages in a rotating sequential manner. -- [DispatchingStrategyRandom](./channel.go): Distributes messages in a random manner. -- [DispatchingStrategyWeightedRandom](./channel.go): Distributes messages in a weighted manner. -- [DispatchingStrategyFirst](./channel.go): Distributes messages in the first non-full channel. -- [DispatchingStrategyLeast](./channel.go): Distributes messages in the emptiest channel. -- [DispatchingStrategyMost](./channel.go): Distributes to the fulliest channel. +- [lo.DispatchingStrategyRoundRobin](./channel.go): Distributes messages in a rotating sequential manner. +- [lo.DispatchingStrategyRandom](./channel.go): Distributes messages in a random manner. +- [lo.DispatchingStrategyWeightedRandom](./channel.go): Distributes messages in a weighted manner. +- [lo.DispatchingStrategyFirst](./channel.go): Distributes messages in the first non-full channel. +- [lo.DispatchingStrategyLeast](./channel.go): Distributes messages in the emptiest channel. +- [lo.DispatchingStrategyMost](./channel.go): Distributes to the fulliest channel. Some strategies bring fallback, in order to favor non-blocking behaviors. See implementations.