Skip to content

Commit

Permalink
GroupByDynamic doc typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fiftyloops authored Apr 14, 2021
1 parent 7bab1e8 commit f0a8379
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/groupbydynamic.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Divides an Observable into a dynamic set of Observables that each emit GroupedObservable from the original Observable, organized by key.

`GroupByDyDynamic` differs from [GroupBy](groupby.md) for two reasons:
`GroupByDynamic` differs from [GroupBy](groupby.md) for two reasons:
* We don't need to pass a fixed set length.
* The distribution function is a `func(rxgo.Item) string` instead of a `func(rxgo.Item) int`. The rationale is because of possible collisions. For example, if our distribution function produces 128-bit UUIDs, there is a collision risk if such a UUID has to be casted into an int.

Expand Down Expand Up @@ -57,4 +57,4 @@ item: 8

* [WithErrorStrategy](options.md#witherrorstrategy)

* [WithPublishStrategy](options.md#withpublishstrategy)
* [WithPublishStrategy](options.md#withpublishstrategy)

0 comments on commit f0a8379

Please sign in to comment.