a470572ea6e7d27dc3f1371e9f4e084b26d0e2624585c74e5d4fa6d8780827db82875d8e59c19a3f2deca0bcf7012da800774da01d51171a1eba620ecf4747 567 B

12345678910111213141516
  1. import { __read, __spreadArray } from "tslib";
  2. import { raceInit } from '../observable/race';
  3. import { operate } from '../util/lift';
  4. import { identity } from '../util/identity';
  5. export function raceWith() {
  6. var otherSources = [];
  7. for (var _i = 0; _i < arguments.length; _i++) {
  8. otherSources[_i] = arguments[_i];
  9. }
  10. return !otherSources.length
  11. ? identity
  12. : operate(function (source, subscriber) {
  13. raceInit(__spreadArray([source], __read(otherSources)))(subscriber);
  14. });
  15. }
  16. //# sourceMappingURL=raceWith.js.map