combineLatest

function deprecated

Deprecation Notes

Replaced with combineLatestWith. Will be removed in v8.

combineLatest<T, R>(...args: (Observable<any> | InteropObservable<any> | AsyncIterable<any> | PromiseLike<any> | ArrayLike<any> | Iterable<...> | ReadableStreamLike<...> | ((...values: any[]) => R))[]): OperatorFunction<T, unknown>

Deprecation Notes

Replaced with combineLatestWith. Will be removed in v8.

Parameters

args

Type: (Observable | InteropObservable | AsyncIterable | PromiseLike | ArrayLike | Iterable<...> | ReadableStreamLike<...> | ((...values: any[]) => R))[].

Returns

OperatorFunction<T, unknown>

Overloads

combineLatest(sources: any[], project: (values_0: T, ...values_1: any[]) => R): OperatorFunction<T, R>

Deprecation Notes

Replaced with combineLatestWith. Will be removed in v8.

Parameters

sources

Type: any[].

project

Type: (values_0: T, ...values_1: any[]) => R.

Returns

OperatorFunction<T, R>

combineLatest(sources: any[]): OperatorFunction<T, [T, ...A]>

Deprecation Notes

Replaced with combineLatestWith. Will be removed in v8.

Parameters

sources

Type: any[].

Returns

OperatorFunction<T, [T, ...A]>

combineLatest(...sourcesAndProject: [any, (values_0: T, ...values_1: any[]) => R]): OperatorFunction<T, R>

Deprecation Notes

Replaced with combineLatestWith. Will be removed in v8.

Parameters

sourcesAndProject

Type: [any, (values_0: T, ...values_1: any[]) => R].

Returns

OperatorFunction<T, R>

combineLatest(...sources: any[]): OperatorFunction<T, [T, ...A]>

Deprecation Notes

Replaced with combineLatestWith. Will be removed in v8.

Parameters

sources

Type: any[].

Returns

OperatorFunction<T, [T, ...A]>

© 2015–2021 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.
Code licensed under an Apache-2.0 License. Documentation licensed under CC BY 4.0.
https://rxjs.dev/api/operators/combineLatest