I want to run 2 asynchronous tasks, one followed by the other (sequentially). I have read something about ZIP or Flat, but I didn\'t understand it very well...
My pu
The operator to do that would be merge
, see http://reactivex.io/documentation/operators/merge.html.
My approach would be to create two observables, let's say observableLocal
and observableRemote
, and merge the output:
Observable
If you want to make sure that remote is run after local, you can use concat
.