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

16 lines
201 B
Python

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)