DGLabGame/node_modules/rxjs/dist/esm/internal/operators/raceWith.js
3944Realms 41203ae1c6 feat: 初始化
添加用户准则界面
2026-03-09 01:20:32 +08:00

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