UNPKG

@reactivex/ix-es5-esm

Version:

The Interactive Extensions for JavaScript

22 lines (20 loc) 806 B
import { __read, __spreadArray } from "tslib"; import { ConcatIterable } from '../concat.js'; /** * Concatenates all iterable sequences in the given sequences, as long as the previous iterable * sequence terminated successfully. * * @template T The type of the elements in the sequences. * @param {...Iterable<T>[]} args The iterable sources. * @returns {AsyncIterableX<T>} An iterable sequence that contains the elements of each given sequence, in sequential order. */ export function concatWith() { var args = []; for (var _i = 0; _i < arguments.length; _i++) { args[_i] = arguments[_i]; } return function concatWithOperatorFunction(source) { return new ConcatIterable(__spreadArray([source], __read(args), false)); }; } //# sourceMappingURL=concatwith.js.map