Skip to content

Instantly share code, notes, and snippets.

@yonivav
Created May 5, 2019 12:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yonivav/18fcfa2211c56700fbd96924c390a323 to your computer and use it in GitHub Desktop.
Save yonivav/18fcfa2211c56700fbd96924c390a323 to your computer and use it in GitHub Desktop.
_ = Observable<Int>.interval(.seconds(1), scheduler: MainScheduler.instance)
.subscribe(onNext: { _ in
print("Rx Resource Count: \(RxSwift.Resources.total)")
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment