Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def start(self):
self.loop.create_task(self.connectrum_interface.start())
self.loop.create_task(aiomas.rpc.start_server('/tmp/aiomas', self.rpc_server))
self.loop.run_forever()
async def start(self):
server = await aiomas.rpc.start_server(self.endpoint, self)
self._server_instance = server