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

Method _step_task

pywebio/session/coroutinebased.py:106–107  ·  view source on GitHub ↗
(self, task, result=None)

Source from the content-addressed store, hash-verified

104 await hold()
105
106 def _step_task(self, task, result=None):
107 asyncio.get_event_loop().call_soon_threadsafe(partial(task.step, result))
108
109 def _on_task_finish(self, task: "Task"):
110 self._alive_coro_cnt -= 1

Callers 2

__init__Method · 0.95
send_client_eventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected