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

Method _wakeup

pywebio/session/coroutinebased.py:350–353  ·  view source on GitHub ↗
(self, future)

Source from the content-addressed store, hash-verified

348 self.pending_futures[id(future)] = future
349
350 def _wakeup(self, future):
351 if not future.cancelled():
352 del self.pending_futures[id(future)]
353 self.step(future.result())
354
355 def close(self):
356 if self.task_closed:

Callers

nothing calls this directly

Calls 3

stepMethod · 0.95
idFunction · 0.85
resultMethod · 0.80

Tested by

no test coverage detected