You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
382 B
JavaScript
11 lines
382 B
JavaScript
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
|