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

Function output_register_callback

pywebio/io_ctrl.py:389–392  ·  view source on GitHub ↗

向当前会话注册回调函数

(callback, **options)

Source from the content-addressed store, hash-verified

387
388
389def output_register_callback(callback, **options):
390 """向当前会话注册回调函数"""
391 task_id = get_current_session().register_callback(callback, **options)
392 return task_id

Callers 6

inputFunction · 0.85
onclickMethod · 0.85
put_buttonsFunction · 0.85
put_datatableFunction · 0.85
toastFunction · 0.85
pin_on_changeFunction · 0.85

Calls 2

get_current_sessionFunction · 0.85
register_callbackMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…