Open marek-j opened 1 year ago
I go to the above example because this trivial example did not work:
async def go():
tb = await rpc.connect_pubsub(connect="tcp://localhost:5501")
tb.publish("botupdates").message("Test")
while True:
await asyncio.sleep(4)
asyncio.run(go())
The publish is only send (or received) when max > 1, but then it only sends one less time than asked to run.