wishthis/node_modules/rxjs/dist/esm5/internal/operators/endWith.js

11 lines
423 B
JavaScript
Raw Normal View History

2022-06-08 10:36:39 +00:00
import { __read, __spreadArray } from "tslib";
2022-01-21 08:28:41 +00:00
import { concat } from '../observable/concat';
import { of } from '../observable/of';
export function endWith() {
2022-06-08 10:36:39 +00:00
var values = [];
2022-01-21 08:28:41 +00:00
for (var _i = 0; _i < arguments.length; _i++) {
2022-06-08 10:36:39 +00:00
values[_i] = arguments[_i];
2022-01-21 08:28:41 +00:00
}
2022-06-08 10:36:39 +00:00
return function (source) { return concat(source, of.apply(void 0, __spreadArray([], __read(values)))); };
2022-01-21 08:28:41 +00:00
}
2022-06-08 10:36:39 +00:00
//# sourceMappingURL=endWith.js.map