RxJS combineLatest(已棄用)

2020-10-13 09:56 更新

不贊成使用static combineLatest。

combineLatest<T, R>(...observables: any[]): OperatorFunction<T, R>

參量

可觀察的 類型:any[]。

returns

OperatorFunction<T, R>

超載

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

參量 類型
項(xiàng)目 類型:(v1: T) => R

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

參量 類型
v2 類型:any
項(xiàng)目 類型:(v1: T, v2: T2) => R

returnsOperatorFunction<T, R>

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

參量 類型
v2 類型:any
v3 類型:any
項(xiàng)目 類型:(v1: T, v2: T2, v3: T3) => R

returnsOperatorFunction<T, R>

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

參量 類型
v2 類型:any
v3 類型:any
v4 類型:any
項(xiàng)目 類型:(v1: T, v2: T2, v3: T3, v4: T4) => R

returnsOperatorFunction<T, R>

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

參量 類型
v2 類型:any
v3 類型:any
v4 類型:any
v5 類型:any
項(xiàng)目 類型:(v1: T, v2: T2, v3: T3, v4: T4, v5: T5) => R

returnsOperatorFunction<T, R>

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

參量 類型
v2 類型:any
v3 類型:any
v4 類型:any
v5 類型:any
v6 類型:any
項(xiàng)目 類型:(v1: T, v2: T2, v3: T3, v4: T4, v5: T5, v6: T6) => R

returnsOperatorFunction<T, R>

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

參量 類型
v2 類型:any

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

參量 類型
v2 類型:any
v3 類型:any

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

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

參量 類型
v2 類型:any
v3 類型:any
v4 類型:any

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

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

參量 類型
v2 類型:any
v3 類型:any
v4 類型:any
v5 類型:any

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

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

參量 類型
v2 類型:any
v3 類型:any
v4 類型:any
v5 類型:any
v6 類型:any

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

combineLatest(...observables: any[]): OperatorFunction<T, R>

參量 類型
可觀察的 類型:any[]

returnsOperatorFunction<T, R>

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

參量 類型
數(shù)組 類型:any[]

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

參量 類型
數(shù)組 類型:any[]
項(xiàng)目 類型:(v1: T, ...values: TOther[]) => R

returnsOperatorFunction<T, R>

以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)