Debian Codegraph @

node/rxjs/dist/esm5/internal/operators/concat.js

raw
1 import { __read, __spreadArray } from "tslib";
2 import { operate } from '../util/lift';
3 import { concatAll } from './concatAll';
4 import { popScheduler } from '../util/args';
5 import { from } from '../observable/from';
6 export function concat() {
7 var args = [];
8 for (var _i = 0; _i < arguments.length; _i++) {
9 args[_i] = arguments[_i];
10 }
11 var scheduler = popScheduler(args);
12 return operate(function (source, subscriber) {
13 concatAll()(from(__spreadArray([source], __read(args)), scheduler)).subscribe(subscriber);
14 });
15 }
16 //# sourceMappingURL=concat.js.map