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

Function coro_background_output

test/template.py:329–337  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

327
328
329async def coro_background_output():
330 put_text("Background output")
331 set_scope('background')
332
333 async def background():
334 for i in range(20):
335 put_text('%s ' % i, inline=True, scope='background')
336
337 return run_async(background())
338
339
340def test_output(browser: Chrome, enable_percy=False, action_delay=0.5):

Callers

nothing calls this directly

Calls 4

put_textFunction · 0.85
set_scopeFunction · 0.85
run_asyncFunction · 0.85
backgroundFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…