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

Class WebIOFuture

pywebio/session/coroutinebased.py:14–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13
14class WebIOFuture:
15 def __init__(self, coro=None):
16 self.coro = coro
17
18 def __iter__(self):
19 result = yield self
20 return result
21
22 __await__ = __iter__ # make compatible with 'await' expression
23
24
25class _context:

Callers 2

next_client_eventMethod · 0.85
run_asyncio_coroutineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…