I have a requirement to get responses from multiple requests with different models in RxSwift. I want to do this without GCD or Semaphore and only with RxSwift. I try this code but have some problems with in different responses with different models and counts of results objects.
Observable.zip(service.fetchAlbums(), service.fetchUsers())
.subscribe(onNext: { (albums, users) in
print(albums)
print(users)
})
.disposed(by: self.disposeBag)