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 637B

12345678910111213141516
  1. /** PURE_IMPORTS_START _util_isScheduler,_of,_from,_operators_concatAll PURE_IMPORTS_END */
  2. import { isScheduler } from '../util/isScheduler';
  3. import { of } from './of';
  4. import { from } from './from';
  5. import { concatAll } from '../operators/concatAll';
  6. export function concat() {
  7. var observables = [];
  8. for (var _i = 0; _i < arguments.length; _i++) {
  9. observables[_i] = arguments[_i];
  10. }
  11. if (observables.length === 1 || (observables.length === 2 && isScheduler(observables[1]))) {
  12. return from(observables[0]);
  13. }
  14. return concatAll()(of.apply(void 0, observables));
  15. }
  16. //# sourceMappingURL=concat.js.map