Last change
on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
419 bytes
|
Line | |
---|
1 | import { isArray } from '../util/isArray';
|
---|
2 | import { race as raceStatic } from '../observable/race';
|
---|
3 | export function race(...observables) {
|
---|
4 | return function raceOperatorFunction(source) {
|
---|
5 | if (observables.length === 1 && isArray(observables[0])) {
|
---|
6 | observables = observables[0];
|
---|
7 | }
|
---|
8 | return source.lift.call(raceStatic(source, ...observables));
|
---|
9 | };
|
---|
10 | }
|
---|
11 | //# sourceMappingURL=race.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.