A.flatMap { $0.map(Observable.just) ?? Observable.empty() }Reference URL: https://github.com/ReactiveX/RxSwift/issues/450