diff --git a/packages/utils/src/collect.ts b/packages/utils/src/collect.ts index 4d335c4..93ee882 100644 --- a/packages/utils/src/collect.ts +++ b/packages/utils/src/collect.ts @@ -10,7 +10,8 @@ const enhancer = (source: GroupedObservable) => return source.subscribe(noop, done, done) }) -/** +/** @deprecated collect is deprecated and it will be removed in the next version, please use partitionByKey + * * A pipeable operator that collects all the GroupedObservables emitted by * the source and emits a Map with the active inner observables */ diff --git a/packages/utils/src/collectValues.ts b/packages/utils/src/collectValues.ts index f3ef18c..4957a7a 100644 --- a/packages/utils/src/collectValues.ts +++ b/packages/utils/src/collectValues.ts @@ -1,7 +1,8 @@ import { GroupedObservable, OperatorFunction } from "rxjs" import { collector } from "./internal-utils" -/** +/** @deprecated collectValues is deprecated and it will be removed in the next version, please use combineKeys + * * A pipeable operator that collects all the GroupedObservables emitted by * the source and emits a Map with the latest values of the inner observables. */ diff --git a/packages/utils/src/split.ts b/packages/utils/src/split.ts index d67f661..551c5d4 100644 --- a/packages/utils/src/split.ts +++ b/packages/utils/src/split.ts @@ -10,7 +10,8 @@ import { shareReplay } from "rxjs/operators" const emptyError = {} -/** +/** @deprecated split is deprecated and it will be removed in the next version, please use partitionByKey + * * Groups the items emitted by the source based on the keySelector function, * emitting one Observable for each group. * @@ -20,7 +21,8 @@ export function split( keySelector: (value: T) => K, ): OperatorFunction> -/** +/** @deprecated split is deprecated and it will be removed in the next version, please use partitionByKey + * * Groups the items emitted by the source based on the keySelector function, * emitting one Observable for each group. *