Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

concat.js 423B

1234567891011
  1. import { isScheduler } from '../util/isScheduler';
  2. import { of } from './of';
  3. import { from } from './from';
  4. import { concatAll } from '../operators/concatAll';
  5. export function concat(...observables) {
  6. if (observables.length === 1 || (observables.length === 2 && isScheduler(observables[1]))) {
  7. return from(observables[0]);
  8. }
  9. return concatAll()(of(...observables));
  10. }
  11. //# sourceMappingURL=concat.js.map