芝麻web文件管理V1.00
编辑当前文件:/home/rejoandoctor/medicine.joruridoctor.com/node_modules/rxjs/src/internal/operators/zip.ts
import { zip as zipStatic } from '../observable/zip'; import { ObservableInput, ObservableInputTuple, OperatorFunction, Cons } from '../types'; import { operate } from '../util/lift'; /** @deprecated Replaced with {@link zipWith}. Will be removed in v8. */ export function zip
(otherInputs: [...ObservableInputTuple
]): OperatorFunction
>; /** @deprecated Replaced with {@link zipWith}. Will be removed in v8. */ export function zip
( otherInputsAndProject: [...ObservableInputTuple
], project: (...values: Cons
) => R ): OperatorFunction
; /** @deprecated Replaced with {@link zipWith}. Will be removed in v8. */ export function zip
(...otherInputs: [...ObservableInputTuple
]): OperatorFunction
>; /** @deprecated Replaced with {@link zipWith}. Will be removed in v8. */ export function zip
( ...otherInputsAndProject: [...ObservableInputTuple
, (...values: Cons
) => R] ): OperatorFunction
; /** * @deprecated Replaced with {@link zipWith}. Will be removed in v8. */ export function zip
(...sources: Array
| ((...values: Array
) => R)>): OperatorFunction
{ return operate((source, subscriber) => { zipStatic(source as ObservableInput
, ...(sources as Array
>)).subscribe(subscriber); }); }