[6a3a178] | 1 | import { concat as concatStatic } from '../observable/concat';
|
---|
| 2 | import { Observable } from '../Observable';
|
---|
| 3 | import { ObservableInput, OperatorFunction, MonoTypeOperatorFunction, SchedulerLike } from '../types';
|
---|
| 4 |
|
---|
| 5 | /* tslint:disable:max-line-length */
|
---|
| 6 | /** @deprecated Deprecated in favor of static concat. */
|
---|
| 7 | export function concat<T>(scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;
|
---|
| 8 | /** @deprecated Deprecated in favor of static concat. */
|
---|
| 9 | export function concat<T, T2>(v2: ObservableInput<T2>, scheduler?: SchedulerLike): OperatorFunction<T, T | T2>;
|
---|
| 10 | /** @deprecated Deprecated in favor of static concat. */
|
---|
| 11 | export function concat<T, T2, T3>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, scheduler?: SchedulerLike): OperatorFunction<T, T | T2 | T3>;
|
---|
| 12 | /** @deprecated Deprecated in favor of static concat. */
|
---|
| 13 | export function concat<T, T2, T3, T4>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, scheduler?: SchedulerLike): OperatorFunction<T, T | T2 | T3 | T4>;
|
---|
| 14 | /** @deprecated Deprecated in favor of static concat. */
|
---|
| 15 | export function concat<T, T2, T3, T4, T5>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, scheduler?: SchedulerLike): OperatorFunction<T, T | T2 | T3 | T4 | T5>;
|
---|
| 16 | /** @deprecated Deprecated in favor of static concat. */
|
---|
| 17 | export function concat<T, T2, T3, T4, T5, T6>(v2: ObservableInput<T2>, v3: ObservableInput<T3>, v4: ObservableInput<T4>, v5: ObservableInput<T5>, v6: ObservableInput<T6>, scheduler?: SchedulerLike): OperatorFunction<T, T | T2 | T3 | T4 | T5 | T6>;
|
---|
| 18 | /** @deprecated Deprecated in favor of static concat. */
|
---|
| 19 | export function concat<T>(...observables: Array<ObservableInput<T> | SchedulerLike>): MonoTypeOperatorFunction<T>;
|
---|
| 20 | /** @deprecated Deprecated in favor of static concat. */
|
---|
| 21 | export function concat<T, R>(...observables: Array<ObservableInput<any> | SchedulerLike>): OperatorFunction<T, R>;
|
---|
| 22 | /* tslint:enable:max-line-length */
|
---|
| 23 |
|
---|
| 24 | /**
|
---|
| 25 | * @deprecated Deprecated in favor of static {@link concat}.
|
---|
| 26 | */
|
---|
| 27 | export function concat<T, R>(...observables: Array<ObservableInput<any> | SchedulerLike>): OperatorFunction<T, R> {
|
---|
| 28 | return (source: Observable<T>) => source.lift.call(concatStatic(source, ...observables));
|
---|
| 29 | }
|
---|