ReactiveX / rxjs

A reactive programming library for JavaScript
https://rxjs.dev
Apache License 2.0
30.7k stars 3k forks source link

Docs missing - what are the params of mergeMap ? #1496

Closed alvipeo closed 8 years ago

alvipeo commented 8 years ago

RxJS 5.0 beta 2

Can somebody provide docs for mergeMap? This is one of the most important operators! What is result selector and how to use it? Use cases? Also, concurrent parameter - it seems clear but still I think I might miss something. Just like anyone else.

paulpdaniels commented 8 years ago

mergeMap -> flatMap

It is functionally very similar to the RxJS 4 version.

The concurrency parameter is equivalent to the map(fn).merge(maxConcurrency) pattern in RxJS 4 as well.

benlesh commented 8 years ago

Yes mergeMap and flatMap are the same thing. Shouldn't differ from RxJS4, other than the new concurrency parameter.

benlesh commented 8 years ago

I've started a new issue to track adding parameter info to merge map. #1502

lock[bot] commented 6 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.