`concatMap` is supposed to preserve the ordering o...
# rx
n
concatMap
is supposed to preserve the ordering of the Observables. However, if I trigger network requests from each observable’s mapping function, the results could still come in “random” order?
concatMap
does not wait for the
onComplete
event of one ObservableSource, before consuming the next one? (edited)
Copy code
stepsObservable
                .concatMap { elem: SyncStep ->
                    Log.e("Rx", "concatMap: ${elem.stepNumber}: ${elem.name}")

                    updateProgress(elem.name)
                    return@concatMap elem.obs()
                }
If
elem.obs()
triggers a network request, then I could still receive the results in random order?