Last change
on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
653 bytes
|
Line | |
---|
1 | import { ZipOperator } from '../observable/zip';
|
---|
2 | import { Observable } from '../Observable';
|
---|
3 | import { OperatorFunction, ObservableInput } from '../types';
|
---|
4 |
|
---|
5 | export function zipAll<T>(): OperatorFunction<ObservableInput<T>, T[]>;
|
---|
6 | export function zipAll<T>(): OperatorFunction<any, T[]>;
|
---|
7 | export function zipAll<T, R>(project: (...values: T[]) => R): OperatorFunction<ObservableInput<T>, R>;
|
---|
8 | export function zipAll<R>(project: (...values: Array<any>) => R): OperatorFunction<any, R>;
|
---|
9 |
|
---|
10 | export function zipAll<T, R>(project?: (...values: Array<any>) => R): OperatorFunction<T, R> {
|
---|
11 | return (source: Observable<T>) => source.lift(new ZipOperator(project));
|
---|
12 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.