diff options
Diffstat (limited to 'node_modules/rxjs/dist/esm/internal/operators/joinAllInternals.js')
| -rw-r--r-- | node_modules/rxjs/dist/esm/internal/operators/joinAllInternals.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm/internal/operators/joinAllInternals.js b/node_modules/rxjs/dist/esm/internal/operators/joinAllInternals.js new file mode 100644 index 0000000..398bb58 --- /dev/null +++ b/node_modules/rxjs/dist/esm/internal/operators/joinAllInternals.js @@ -0,0 +1,9 @@ +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
\ No newline at end of file |
