initial commit - far from runnable
This commit is contained in:
commit
db057ce342
8614 changed files with 1032171 additions and 0 deletions
19
node_modules/rxjs/dist/esm/internal/observable/merge.js
generated
vendored
Normal file
19
node_modules/rxjs/dist/esm/internal/observable/merge.js
generated
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue