mirror of
https://github.com/re-rxjs/react-rxjs.git
synced 2025-12-08 18:01:51 +00:00
chore(utils): flag split, collect & collectValues as deprecated
This commit is contained in:
parent
d653623d1f
commit
957c4e5346
@ -10,7 +10,8 @@ const enhancer = <K, V>(source: GroupedObservable<K, V>) =>
|
||||
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
|
||||
*/
|
||||
|
||||
@ -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.
|
||||
*/
|
||||
|
||||
@ -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<T, K>(
|
||||
keySelector: (value: T) => K,
|
||||
): OperatorFunction<T, GroupedObservable<K, T>>
|
||||
|
||||
/**
|
||||
/** @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.
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user