Reactive-Extensions / RxJS

The Reactive Extensions for JavaScript
http://reactivex.io
Other
19.49k stars 2.1k forks source link

Add support for concatMapEager #1499

Closed rochdev closed 7 years ago

rochdev commented 7 years ago

When calling concatMap, the handler is called in series so it has to return a value before entering the next iteration.

In some cases it would be more efficient to be able to run the handler in parallel and then drain the results in order, especially if the handler is waiting for IO.

See http://reactivex.io/RxJava/javadoc/io/reactivex/Observable.html#concatMapEager(io.reactivex.functions.Function)

rochdev commented 7 years ago

Closing in favor of https://github.com/ReactiveX/rxjs/issues/2733