code: def run(self):
          
          while True:
              try:
                  self._callback(self.wait_read_frame())
              except ThreadQuitException:
                  # Expected termintation of thread due to self.halt()
                  break
              except Exception as e:
                  # Unexpected thread quit.
                  if self._error_callback:
                      self._error_callback(e)
docs: run: None -> None
  
          This method overrides threading.Thread.run() and is automatically
          called when an instance is created with threading enabled.