📅  最后修改于: 2022-03-11 15:01:02.378000             🧑  作者: Mango
Observable.combineLatest(
sourceObservableA, sourceObservableB,
resultSelector: { value1, value2 in
print("\(value1) \(value2)")
}).observeOn(MainScheduler.instance)
.subscribe()
.disposed(by: disposeBag)