combineLatest

Deprecation Notes

Deprecated in favor of static combineLatest.

combineLatest<T, R>(...observables: Array<ObservableInput<any> | Array<ObservableInput<any>> | ((...values: Array<any>) => R)>): OperatorFunction<T, R>

Parameters

observables

Type: Array | Array> | ((...values: Array) => R)>.

Returns

OperatorFunction<T, R>

Overloads

combineLatest(project: (v1: T) => R): OperatorFunction<T, R>

Parameters

project

Type: (v1: T) => R.

Returns

OperatorFunction<T, R>

combineLatest(v2: ObservableInput<T2>, project: (v1: T, v2: T2) => R): OperatorFunction<T, R>

Parameters

v2

Type: ObservableInput.

project

Type: (v1: T, v2: T2) => R.

Returns

OperatorFunction<T, R>

combineLatest(v2: ObservableInput<T2>, v3: ObservableInput<T3>, project: (v1: T, v2: T2, v3: T3) => R): OperatorFunction<T, R>

Parameters

v2

Type: ObservableInput.

v3

Type: ObservableInput.

project

Type: (v1: T, v2: T2, v3: T3) => R.

Returns

OperatorFunction<T, R>

combineLatest(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, project: (v1: T, v2: T2, v3: T3, v4: T4) => R): OperatorFunction<T, R>

Parameters

v2

Type: ObservableInput.

v3

Type: ObservableInput.

v4

Type: ObservableInput.

project

Type: (v1: T, v2: T2, v3: T3, v4: T4) => R.

Returns

OperatorFunction<T, R>

combineLatest(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => R): OperatorFunction<T, R>

Parameters

v2

Type: ObservableInput.

v3

Type: ObservableInput.

v4

Type: ObservableInput.

v5

Type: ObservableInput.

project

Type: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => R.

Returns

OperatorFunction<T, R>

combineLatest(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, v6: ObservableInput<T6>, project: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => R): OperatorFunction<T, R>

Parameters

v2

Type: ObservableInput.

v3

Type: ObservableInput.

v4

Type: ObservableInput.

v5

Type: ObservableInput.

v6

Type: ObservableInput.

project

Type: (v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => R.

Returns

OperatorFunction<T, R>

combineLatest(v2: ObservableInput<T2>): OperatorFunction<T, [T, T2]>

Parameters

v2

Type: ObservableInput.

Returns

OperatorFunction<T, [T, T2]>

combineLatest(v2: ObservableInput<T2>, v3: ObservableInput<T3>): OperatorFunction<T, [T, T2, T3]>

Parameters

v2

Type: ObservableInput.

v3

Type: ObservableInput.

Returns

OperatorFunction<T, [T, T2, T3]>

combineLatest(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>): OperatorFunction<T, [T, T2, T3, T4]>

Parameters

v2

Type: ObservableInput.

v3

Type: ObservableInput.

v4

Type: ObservableInput.

Returns

OperatorFunction<T, [T, T2, T3, T4]>

combineLatest(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>): OperatorFunction<T, [T, T2, T3, T4, T5]>

Parameters

v2

Type: ObservableInput.

v3

Type: ObservableInput.

v4

Type: ObservableInput.

v5

Type: ObservableInput.

Returns

OperatorFunction<T, [T, T2, T3, T4, T5]>

combineLatest(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, v6: ObservableInput<T6>): OperatorFunction<T, [T, T2, T3, T4, T5, T6]>

Parameters

v2

Type: ObservableInput.

v3

Type: ObservableInput.

v4

Type: ObservableInput.

v5

Type: ObservableInput.

v6

Type: ObservableInput.

Returns

OperatorFunction<T, [T, T2, T3, T4, T5, T6]>

combineLatest(...observables: Array<ObservableInput<T> | ((...values: Array<T>) => R)>): OperatorFunction<T, R>

Parameters

observables

Type: Array | ((...values: Array) => R)>.

Returns

OperatorFunction<T, R>

combineLatest(array: ObservableInput<T>[]): OperatorFunction<T, Array<T>>

Parameters

array

Type: ObservableInput[].

Returns

OperatorFunction<T, Array<T>>

combineLatest(array: ObservableInput<TOther>[], project: (v1: T, ...values: Array<TOther>) => R): OperatorFunction<T, R>

Parameters

array

Type: ObservableInput[].

project

Type: (v1: T, ...values: Array) => R.

Returns

OperatorFunction<T, R>