hugoWebsite/node_modules/rxjs/dist/esm5/internal/operators/zip.js

13 lines
471 B
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
import { __read, __spreadArray } from "tslib";
import { zip as zipStatic } from '../observable/zip';
import { operate } from '../util/lift';
export function zip() {
var sources = [];
for (var _i = 0; _i < arguments.length; _i++) {
sources[_i] = arguments[_i];
}
return operate(function (source, subscriber) {
zipStatic.apply(void 0, __spreadArray([source], __read(sources))).subscribe(subscriber);
});
}
//# sourceMappingURL=zip.js.map