concatMapMaybe

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

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

Please refer to the corresponding RxJava document.