blob: ff63ee1897cc048a38c68917532d98b24255e34d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
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
|