Created
April 22, 2020 14:54
-
-
Save AndreyAnt/3057e34d10820b51ba3be21fff534d6a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if DEBUG | |
_ = Observable<Int>.interval(.seconds(1), scheduler: MainScheduler.instance) | |
.map { _ in RxSwift.Resources.total } | |
.distinctUntilChanged() | |
.subscribe(onNext: { print("♦️ Resource count \($0)") }) | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment