tractor/examples/debugging/root_actor_breakpoint_forev...

12 lines
155 B
Python
Raw Normal View History

import tractor
async def main():
while True:
await tractor.breakpoint()
if __name__ == '__main__':
tractor.run(main, debug_mode=True)