code: def _poll(self):
          
          while True:
              self.poll_count += 1
              self._poll_action()
              if self.poll_complete:
                  break
              time.sleep(self.poll_interval_s)
              self._poll_update_interval()
docs: poll for a result in a loop