title: Observable.interval not working in background state
body: <p>I am trying to create a simple timer with RxSwift and I inspired from this answer (). It works fine when the application is in foreground. The problem is that if the application state goes to the background, it stops and then starts to count from where it stays if the app state is foreground again.</p>
  
  <p><a href="https://stackoverflow.com/a/41198811/3950721">https://stackoverflow.com/a/41198811/3950721</a></p>
  
  <p>To quick look;
  <a href="https://i.stack.imgur.com/M9Di7.png" rel="nofollow noreferrer">Simple Timer with RxSwift</a></p>