6b1ae0a18ebe318f4daba4b6424e31145982f5d3f9aee160cdd87307c37a744c4cfce7c3d053578c5f9c13491c8d41f7561f7b172678e5a24d3eeb2890fb86 382 B

1234567891011
  1. import { raceInit } from '../observable/race';
  2. import { operate } from '../util/lift';
  3. import { identity } from '../util/identity';
  4. export function raceWith(...otherSources) {
  5. return !otherSources.length
  6. ? identity
  7. : operate((source, subscriber) => {
  8. raceInit([source, ...otherSources])(subscriber);
  9. });
  10. }
  11. //# sourceMappingURL=raceWith.js.map