skip to Main Content

How do I combine observe two result rx sequences and subscribe with one closure arguments? – Ios swift

My sample is create call rest api two observable of result from load rx.request api from moya func dataOneObservable() -> Observable<ObJectOneClass> { return myprovider.rx.request(API.loadDataDetail()) .asObservable() .retry() .observeOn(MainScheduler.instance) .filterSuccessfulStatusAndRedirectCodes() .catchObjectError() .mapObject(ObJectOneClassResult.self) .map({ (response) -> ObJectOneClass in if ObJectOneClass.data != nil {…

VIEW QUESTION
Back To Top
Search