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

Method __await__

starlette/endpoints.py:67–68  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

65 self.send = send
66
67 def __await__(self) -> Generator[Any, None, None]:
68 return self.dispatch().__await__()
69
70 async def dispatch(self) -> None:
71 websocket = WebSocket(self.scope, receive=self.receive, send=self.send)

Callers

nothing calls this directly

Calls 2

dispatchMethod · 0.95
__await__Method · 0.45

Tested by

no test coverage detected