Working with async tasks using RxSwift is easy and straightforward. For me, the hardest thing was to grasp the concept of the flatMap operator. FlatMap - general ideaFirst, let us focus on flatMap what we can use on collections. It is converting an array of arrays to one flat array: