Quantumbraid's picture
download
raw
613 Bytes
import { mergeAll } from '../operators/mergeAll';
import { innerFrom } from './innerFrom';
import { EMPTY } from './empty';
import { popNumber, popScheduler } from '../util/args';
import { from } from './from';
export function merge(...args) {
const scheduler = popScheduler(args);
const concurrent = popNumber(args, Infinity);
const sources = args;
return !sources.length
?
EMPTY
: sources.length === 1
?
innerFrom(sources[0])
:
mergeAll(concurrent)(from(sources, scheduler));
}
//# sourceMappingURL=merge.js.map

Xet Storage Details

Size:
613 Bytes
·
Xet hash:
be23fc667baf59dfc24820044edfdfb12b4e2e274372571536536a3221849915

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.