June 2018
Intermediate to advanced
280 pages
7h 46m
English
Transforming the given Observables into a single Observable either by the arrival order (flatMap), keeping the last emitted (switchMap), or by preserving the original order (concatMap) can be done by using one of the following operators: concatMap, concatMapDelayError, concatMapEager, concatMapEagerDelayError, concatMapIterable, flatMap, flatMapIterable, switchMap, or switchMapDelayError. The following example shows how by randomly choosing the order of observables, the content of the output changes. (flatMap, concatMap, and switchMap):

The concatMap implementation is appending the c string to each of the given a, b, and ...
Read now
Unlock full access