def run(self):
        if self.pipe:
            if not self.notifies:
                # wait for a message...
                request = self.recv()
            else:
                # process an asyncronus notification received earlier
                request = self.notifies.pop(0)
            return self.process_message(request)
Main method dispatcher (infinite loop)
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/qdb.py/Frontend.run