Debian Codegraph @

node/rxjs/dist/esm/internal/operators/raceWith.js

raw
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