Yoni Vizel
1 min readMay 23, 2019

--

Hi Zeeshan,

Thanks for your feedback.

This command matches RxSwift version 5 (where the first input type, RxTimeInterval, is a type-alias of DispatchTimeInterval and not of TimeInterval). It seems your RxSwift framework is outdated.

Try using:

_ = Observable<Int>.interval(1, scheduler: MainScheduler.instance)
.subscribe(onNext: { _ in
print(“Rx Resource Count: \(RxSwift.Resources.total)”)
})

--

--

No responses yet