code: def run(self):
          
          while self._base.is_running:
              if self._worker:
                  self._worker()
                  time.sleep(self._sleep_duration)
docs: Runs its worker method.
  
          This method will be terminated once its parent's is_running
          property turns False.