forked from goodboy/tractor
1
0
Fork 0
tractor/examples/debugging/root_actor_breakpoint.py

16 lines
201 B
Python
Raw Normal View History

2020-10-03 23:35:18 +00:00
import trio
import tractor
async def main():
await trio.sleep(0.1)
await tractor.breakpoint()
await trio.sleep(0.1)
if __name__ == '__main__':
tractor.run(main, debug_mode=True)