def _run_event_loop(self):
        self.protocol = RobotClientProtocol(self)
        # Connect to the server
        asyncio.async(
            self.loop.create_connection(
                lambda: self.protocol,
                host=self.host,
                port=self.port))

        # Main asyncio event loop running in the asyncio_greenlet
        self.loop.run_forever()
        # The loop was terminated, close the things.
        self.loop.close()
Start the main asyncio event loop (must be in the network greenlet).
dataset/ETHPy150Open katharosada/botchallenge/client/botchallenge/client.py/ContextHandler._run_event_loop