2021-02-24 18:39:14 +00:00
|
|
|
import trio
|
2020-10-04 23:39:00 +00:00
|
|
|
import tractor
|
|
|
|
|
|
|
|
|
2024-05-28 13:22:59 +00:00
|
|
|
async def main(
|
|
|
|
registry_addrs: tuple[str, int]|None = None
|
|
|
|
):
|
2020-10-04 23:39:00 +00:00
|
|
|
|
2021-02-24 18:39:14 +00:00
|
|
|
async with tractor.open_root_actor(
|
|
|
|
debug_mode=True,
|
2024-05-28 13:22:59 +00:00
|
|
|
# loglevel='runtime',
|
2021-02-24 18:39:14 +00:00
|
|
|
):
|
|
|
|
while True:
|
|
|
|
await tractor.breakpoint()
|
2020-10-04 23:39:00 +00:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
2021-02-24 18:39:14 +00:00
|
|
|
trio.run(main)
|