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>

参量 类型
项目 类型:(v1: T) => R

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

参量 类型
v2 类型:any
项目 类型:(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
项目 类型:(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
项目 类型:(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
项目 类型:(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
项目 类型:(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>>

参量 类型
数组 类型:any[]

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

参量 类型
数组 类型:any[]
项目 类型:(v1: T, ...values: TOther[]) => R

returnsOperatorFunction<T, R>

以上内容是否对您有帮助:
在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号