()
| 562 | |
| 563 | |
| 564 | def background_input(): |
| 565 | def background(): |
| 566 | time.sleep(1) |
| 567 | res = input('background') |
| 568 | put_markdown(f'`background: {repr(res)}`') |
| 569 | |
| 570 | t = threading.Thread(target=background) |
| 571 | register_thread(t) |
| 572 | t.start() |
| 573 | |
| 574 | res = input('front') |
| 575 | put_markdown(f'`front: {repr(res)}`') |
| 576 | |
| 577 | |
| 578 | async def coro_background_input(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…