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

Function iscoroutinefunction

pywebio/utils.py:153–156  ·  view source on GitHub ↗
(object)

Source from the content-addressed store, hash-verified

151
152
153def iscoroutinefunction(object):
154 while isinstance(object, functools.partial):
155 object = object.func
156 return asyncio.iscoroutinefunction(object)
157
158
159def isgeneratorfunction(object):

Callers 12

targetFunction · 0.85
__call__Method · 0.85
__init__Method · 0.85
callback_coroMethod · 0.85
__init__Method · 0.85
register_callbackMethod · 0.85
start_serverFunction · 0.85
make_applicationsFunction · 0.85
start_serverFunction · 0.85
_init_sessionMethod · 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…