def next(self):
        # REPORT LAST JOB SUCCESSFULLY COMPLETED, IF ANY
        while 1:
            id = self.server.next(self.host, self.pid, self.success_id)
            self.success_id = False # ERASE SUCCESS ID
            if id is True: # WE'RE BEING TOLD TO JUST WAIT
                time.sleep(60) # SO GO TO SLEEP FOR A MINUTE
            else:
                break
        if id is False: # NO MODE id FOR US TO PROCESS, SO QUIT
            self.serverStopIteration = True # RECORD THIS AS GENUINE END EVENT
            raise StopIteration
        else: # HAND BACK THE id TO THE USER
            self.pending_id = id
            return id
min(iterable[, key=func[, axis=(axis0, axis1, ...)]]) --> value
dataset/ETHPy150Open cjlee112/pygr/pygr/coordinator.py/Processor.next--crossover with--dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/maya/site-packages/pymel-1.0.5/extras/completion/py/pymel/util/arrays.py/min