13 lines
471 B
JavaScript
13 lines
471 B
JavaScript
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
|