source: trip-planner-front/node_modules/rxjs/src/internal/operators/concat.ts@ e29cc2e

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: 2.2 KB
Line 
1import { concat as concatStatic } from '../observable/concat';
2import { Observable } from '../Observable';
3import { ObservableInput, OperatorFunction, MonoTypeOperatorFunction, SchedulerLike } from '../types';
4
5/* tslint:disable:max-line-length */
6/** @deprecated Deprecated in favor of static concat. */
7export function concat<T>(scheduler?: SchedulerLike): MonoTypeOperatorFunction<T>;
8/** @deprecated Deprecated in favor of static concat. */
9export function concat<T, T2>(v2: ObservableInput<T2>, scheduler?: SchedulerLike): OperatorFunction<T, T | T2>;
10/** @deprecated Deprecated in favor of static concat. */
11export 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. */
13export 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. */
15export 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. */
17export 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. */
19export function concat<T>(...observables: Array<ObservableInput<T> | SchedulerLike>): MonoTypeOperatorFunction<T>;
20/** @deprecated Deprecated in favor of static concat. */
21export 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 */
27export function concat<T, R>(...observables: Array<ObservableInput<any> | SchedulerLike>): OperatorFunction<T, R> {
28 return (source: Observable<T>) => source.lift.call(concatStatic(source, ...observables));
29}
Note: See TracBrowser for help on using the repository browser.