diff options
Diffstat (limited to 'node_modules/rxjs/dist/esm5/internal/operators/joinAllInternals.js')
| -rw-r--r-- | node_modules/rxjs/dist/esm5/internal/operators/joinAllInternals.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/node_modules/rxjs/dist/esm5/internal/operators/joinAllInternals.js b/node_modules/rxjs/dist/esm5/internal/operators/joinAllInternals.js new file mode 100644 index 0000000..62a00fc --- /dev/null +++ b/node_modules/rxjs/dist/esm5/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(function (sources) { return joinFn(sources); }), project ? mapOneOrManyArgs(project) : identity); +} +//# sourceMappingURL=joinAllInternals.js.map
\ No newline at end of file |
