hugoWebsite/node_modules/rxjs/dist/esm/internal/operators/joinAllInternals.js

9 lines
433 B
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
import { identity } from '../util/identity';
import { mapOneOrManyArgs } from '../util/mapOneOrManyArgs';
import { pipe } from '../util/pipe';
import { mergeMap } from './mergeMap';
import { toArray } from './toArray';
export function joinAllInternals(joinFn, project) {
return pipe(toArray(), mergeMap((sources) => joinFn(sources)), project ? mapOneOrManyArgs(project) : identity);
}
//# sourceMappingURL=joinAllInternals.js.map