codecamp

RxJS combineLatest(已弃用)

不赞成使用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>

RxJS CombineAll
RxJS concat(已弃用)
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定
目录

RxJS operators

RxJS fetch

RxJS testing

关闭

MIP.setData({ 'pageTheme' : getCookie('pageTheme') || {'day':true, 'night':false}, 'pageFontSize' : getCookie('pageFontSize') || 20 }); MIP.watch('pageTheme', function(newValue){ setCookie('pageTheme', JSON.stringify(newValue)) }); MIP.watch('pageFontSize', function(newValue){ setCookie('pageFontSize', newValue) }); function setCookie(name, value){ var days = 1; var exp = new Date(); exp.setTime(exp.getTime() + days*24*60*60*1000); document.cookie = name + '=' + value + ';expires=' + exp.toUTCString(); } function getCookie(name){ var reg = new RegExp('(^| )' + name + '=([^;]*)(;|$)'); return document.cookie.match(reg) ? JSON.parse(document.cookie.match(reg)[2]) : null; }