code: def _worker(self):
          
          while self.working:
              try:
                  genome_id, genome, config = self.inqueue.get(
                      block=True,
                      timeout=0.2,
                      )
              except queue.Empty:
                  continue
              f = self.eval_function(genome, config)
              self.outqueue.put((genome_id, genome, f))
docs: The worker function