onErrorResumeNextWith.js 611 B

12345678910111213
  1. import { __read, __spreadArray } from "tslib";
  2. import { argsOrArgArray } from '../util/argsOrArgArray';
  3. import { onErrorResumeNext as oERNCreate } from '../observable/onErrorResumeNext';
  4. export function onErrorResumeNextWith() {
  5. var sources = [];
  6. for (var _i = 0; _i < arguments.length; _i++) {
  7. sources[_i] = arguments[_i];
  8. }
  9. var nextSources = argsOrArgArray(sources);
  10. return function (source) { return oERNCreate.apply(void 0, __spreadArray([source], __read(nextSources))); };
  11. }
  12. export var onErrorResumeNext = onErrorResumeNextWith;
  13. //# sourceMappingURL=onErrorResumeNextWith.js.map