frontend/.pnpm-store/v3/files/3c/08708db16e9f97a2488805a75ec78aedc47900449c749e271621e33de628d432587dbd2ed2a8c8ce678ef58dc705428e0ce4f792ca7f9a556a8808ce796f55

14 lines
569 B
Plaintext

import { operate } from '../util/lift';
import { argsOrArgArray } from '../util/argsOrArgArray';
import { mergeAll } from './mergeAll';
import { popNumber, popScheduler } from '../util/args';
import { from } from '../observable/from';
export function merge(...args) {
const scheduler = popScheduler(args);
const concurrent = popNumber(args, Infinity);
args = argsOrArgArray(args);
return operate((source, subscriber) => {
mergeAll(concurrent)(from([source, ...args], scheduler)).subscribe(subscriber);
});
}
//# sourceMappingURL=merge.js.map