"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.onErrorResumeNextWith = void 0;
const argsOrArgArray_js_1 = require("../util/argsOrArgArray.js");
const onErrorResumeNext_js_1 = require("../observable/onErrorResumeNext.js");
function onErrorResumeNextWith(...sources) {
    const nextSources = (0, argsOrArgArray_js_1.argsOrArgArray)(sources);
    return (source) => (0, onErrorResumeNext_js_1.onErrorResumeNext)(source, ...nextSources);
}
exports.onErrorResumeNextWith = onErrorResumeNextWith;