This commit is contained in:
root
2023-07-30 22:05:51 +02:00
parent 65a0be1350
commit 06acaecee1
12267 changed files with 671638 additions and 15 deletions

View File

@@ -0,0 +1,16 @@
import { __read, __spreadArray } from "tslib";
import { raceInit } from '../observable/race';
import { operate } from '../util/lift';
import { identity } from '../util/identity';
export function raceWith() {
var otherSources = [];
for (var _i = 0; _i < arguments.length; _i++) {
otherSources[_i] = arguments[_i];
}
return !otherSources.length
? identity
: operate(function (source, subscriber) {
raceInit(__spreadArray([source], __read(otherSources)))(subscriber);
});
}
//# sourceMappingURL=raceWith.js.map