def _run_event(self):
        while self.alive:
            try:
                self.handle_event(self.events.get())
            except:
                logging.exception('_run_event')
Process events in a separate thread so that input thread is not
dataset/ETHPy150Open pyserial/pyserial/examples/at_protocol.py/ATProtocol._run_event