wishthis/node_modules/rxjs/dist/esm/internal/operators/concat.js

11 lines
413 B
JavaScript
Raw Normal View History

2022-06-08 10:36:39 +00:00
import { operate } from '../util/lift';
import { concatAll } from './concatAll';
import { popScheduler } from '../util/args';
import { from } from '../observable/from';
export function concat(...args) {
const scheduler = popScheduler(args);
return operate((source, subscriber) => {
concatAll()(from([source, ...args], scheduler)).subscribe(subscriber);
});
}
//# sourceMappingURL=concat.js.map