android10 / android10/Android-ReactiveProgramming

concatMap() is not a good solution if you need concurrency

Offen
#2 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
225
Forks
47
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

In the article about `flatMap()` vs `concatMap()` it should be mentioned that the second one doesn't run the tasks in parallel but in sequence so the solution is not a real replacement for a `flatMap` (at least in my case).
I suggest to use `concatMapEager()` if we need the results to be strictly in order.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.