code: def updater_loop(self):
          
          self.updater_running = True
          while (self.updater_running):
              self.send_updates()
              sleep(self.updateinterval)
docs: Main loop that should run in the background.