TenantAtlas/apps/platform/.pnpm-store/v10/files/1a/5bc5748c0530f647c040a251a4222aa79ad1985d13e33c8477b42158a319454757249d9e0819f4bbbb7a0427f19bc8286525329afea95eecada5af245cfebb
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

12 lines
479 B
Plaintext

import { operate } from '../util/lift';
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);
return operate((source, subscriber) => {
mergeAll(concurrent)(from([source, ...args], scheduler)).subscribe(subscriber);
});
}
//# sourceMappingURL=merge.js.map