mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-13 05:55:26 +00:00
update
This commit is contained in:
21
node_modules/rxjs/_esm5/operator/race.js
generated
vendored
Normal file
21
node_modules/rxjs/_esm5/operator/race.js
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
/** PURE_IMPORTS_START .._operators_race PURE_IMPORTS_END */
|
||||
import { race as higherOrder } from '../operators/race';
|
||||
// NOTE: to support backwards compatability with 5.4.* and lower
|
||||
export { race as raceStatic } from '../observable/race';
|
||||
/* tslint:enable:max-line-length */
|
||||
/**
|
||||
* Returns an Observable that mirrors the first source Observable to emit an item
|
||||
* from the combination of this Observable and supplied Observables.
|
||||
* @param {...Observables} ...observables Sources used to race for which Observable emits first.
|
||||
* @return {Observable} An Observable that mirrors the output of the first Observable to emit an item.
|
||||
* @method race
|
||||
* @owner Observable
|
||||
*/
|
||||
export function race() {
|
||||
var observables = [];
|
||||
for (var _i = 0; _i < arguments.length; _i++) {
|
||||
observables[_i - 0] = arguments[_i];
|
||||
}
|
||||
return higherOrder.apply(void 0, observables)(this);
|
||||
}
|
||||
//# sourceMappingURL=race.js.map
|
Reference in New Issue
Block a user