concatMap

fun <T, R> Observable<T>.concatMap(mapper: (T) -> Observable<R>): Observable<R>

Returns an Observable that applies the mapper to every element emitted by the source Observable and concatenates the returned Observables.

Please refer to the corresponding RxJava document.