Debian Codegraph @

node/rxjs/dist/cjs/internal/operators/startWith.js

raw
1 "use strict";
2 Object.defineProperty(exports, "__esModule", { value: true });
3 exports.startWith = void 0;
4 var concat_1 = require("../observable/concat");
5 var args_1 = require("../util/args");
6 var lift_1 = require("../util/lift");
7 function startWith() {
8 var values = [];
9 for (var _i = 0; _i < arguments.length; _i++) {
10 values[_i] = arguments[_i];
11 }
12 var scheduler = args_1.popScheduler(values);
13 return lift_1.operate(function (source, subscriber) {
14 (scheduler ? concat_1.concat(values, source, scheduler) : concat_1.concat(values, source)).subscribe(subscriber);
15 });
16 }
17 exports.startWith = startWith;
18 //# sourceMappingURL=startWith.js.map