RxJS zip(已弃用)
弃用说明
不赞成使用static zip
。
zip<T, R>(...observables: any[]): OperatorFunction
<T, R>
参量
可观察的 | 类型: any[] 。 |
---|
returns
OperatorFunction<T, R>
超载
zip(project: (v1: T) => R): OperatorFunction<T, R>
参量 | 类型 |
---|---|
项目 | 类型: (v1: T) => R 。 |
returns OperatorFunction<T, R>
zip(v2: any, project: (v1: T, v2: T2) => R): OperatorFunction<T, R>
参量 | 类型 | |
---|---|---|
v2 | 类型: any |
|
项目 | 类型: (v1: T, v2: T2) => R |
returns OperatorFunction<T, R> |
zip(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 |
returns OperatorFunction<T, R>
zip(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 |
returns OperatorFunction<T, R>
zip(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 |
returns OperatorFunction<T, R>
zip(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 |
returns OperatorFunction<T, R>
zip(v2: any): OperatorFunction<T, [T, T2]>
参量 | 类型 |
---|---|
v2 | 类型: any |
returns OperatorFunction<T, [T, T2]>
zip(v2: any, v3: any): OperatorFunction<T, [T, T2, T3]>
参量 | 类型 |
---|---|
v2 | 类型: any |
v3 | 类型: any |
returns OperatorFunction<T, [T, T2, T3]>
zip(v2: any, v3: any, v4: any): OperatorFunction<T, [T, T2, T3, T4]>
参量 | 类型 |
---|---|
v2 | 类型: any |
v3 | 类型: any |
v4 | 类型: any |
returns OperatorFunction<T, [T, T2, T3, T4]>
zip(v2: any, v3: any, v4: any, v5: any): OperatorFunction<T, [T, T2, T3, T4, T5]>
参量 | 类型 |
---|---|
v2 | 类型: any |
v3 | 类型: any |
v4 | 类型: any |
v5 | 类型: any |
returns OperatorFunction<T, [T, T2, T3, T4, T5]>
zip(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 |
returns OperatorFunction<T, [T, T2, T3, T4, T5, T6]>
zip(...observables: any[]): OperatorFunction<T, R>
参量 | 类型 |
---|---|
可观察的 | 类型: any[] |
returns OperatorFunction<T, R>
zip(array: any[]): OperatorFunction<T, R>
参量 | 类型 |
---|---|
数组 | 类型: any[] |
returns OperatorFunction<T, R>
zip(array: any[], project: (v1: T, ...values: TOther[]) => R): OperatorFunction<T, R>
参量 | 类型 |
---|---|
数组 | 类型: any[] |
项目 | 类型: (v1: T, ...values: TOther[]) => R |
returns OperatorFunction<T, R>
更多建议: