MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / flask_coro_background_input

Function flask_coro_background_input

test/template.py:590–599  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

588
589
590async def flask_coro_background_input():
591 async def background():
592 await run_asyncio_coroutine(asyncio.sleep(1))
593 res = await input('background')
594 put_markdown(f'`background: {repr(res)}`')
595
596 run_async(background())
597
598 res = await input('front')
599 put_markdown(f'`front: {repr(res)}`')
600
601
602def test_input(browser: Chrome, enable_percy=False, action_delay=0.5):

Callers

nothing calls this directly

Calls 4

run_asyncFunction · 0.85
backgroundFunction · 0.85
inputFunction · 0.85
put_markdownFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…