forked from goodboy/tractor
Play with re-entrant trace
parent
8eb9a742dd
commit
f7cd2be039
|
@ -4,8 +4,9 @@ import trio
|
||||||
|
|
||||||
async def bubble():
|
async def bubble():
|
||||||
print('IN BUBBLE')
|
print('IN BUBBLE')
|
||||||
await trio.sleep(.1)
|
while True:
|
||||||
await tractor.breakpoint()
|
await trio.sleep(.1)
|
||||||
|
await tractor.breakpoint()
|
||||||
|
|
||||||
|
|
||||||
async def bail():
|
async def bail():
|
||||||
|
@ -27,4 +28,4 @@ async def main():
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
tractor.run(main, loglevel='critical', debug_mode=True)
|
tractor.run(main, loglevel='error', debug_mode=True)
|
||||||
|
|
Loading…
Reference in New Issue