How to use the aiomas.rpc.start_server function in aiomas

To help you get started, we’ve selected a few aiomas examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gdassori / spruned / spruned / daemon / electrum / connectrum_reactor.py View on Github external
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()
github gdassori / spruned / spruned / daemon / electrod / electrod_rpc_server.py View on Github external
async def start(self):
        server = await aiomas.rpc.start_server(self.endpoint, self)
        self._server_instance = server

aiomas

Asyncio-based, layered networking library providing request-reply channels, RPC, and multi-agent systems.

MIT
Latest version published 6 years ago

Package Health Score

42 / 100
Full package analysis