MCPcopy
hub / github.com/encode/starlette / is_async_callable

Function is_async_callable

starlette/_utils.py:35–35  ·  starlette/_utils.py::is_async_callable
(obj: AwaitableCallable[T])

Source from the content-addressed store, hash-verified

33
34@overload
35def is_async_callable(obj: AwaitableCallable[T]) -> TypeIs[AwaitableCallable[T]]: ...
36
37
38@overload

Callers 14

_is_asgi3Function · 0.90
__init__Method · 0.90
wrapped_appFunction · 0.90
dispatchMethod · 0.90
decoratorFunction · 0.90
request_responseFunction · 0.90
__call__Method · 0.90
test_async_funcFunction · 0.90
test_async_partialFunction · 0.90
test_async_methodFunction · 0.90
test_async_object_callFunction · 0.90

Calls

no outgoing calls

Tested by 8

_is_asgi3Function · 0.72
test_async_funcFunction · 0.72
test_async_partialFunction · 0.72
test_async_methodFunction · 0.72
test_async_object_callFunction · 0.72