.
This commit is contained in:
11
node_modules/rxjs/dist/esm/internal/operators/raceWith.js
generated
vendored
Normal file
11
node_modules/rxjs/dist/esm/internal/operators/raceWith.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { raceInit } from '../observable/race';
|
||||
import { operate } from '../util/lift';
|
||||
import { identity } from '../util/identity';
|
||||
export function raceWith(...otherSources) {
|
||||
return !otherSources.length
|
||||
? identity
|
||||
: operate((source, subscriber) => {
|
||||
raceInit([source, ...otherSources])(subscriber);
|
||||
});
|
||||
}
|
||||
//# sourceMappingURL=raceWith.js.map
|
||||
Reference in New Issue
Block a user