MCPcopy Index your code
hub / github.com/modelcontextprotocol/python-sdk / receive

Method receive

src/mcp/shared/_stream_protocols.py:25–25  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23 """
24
25 async def receive(self) -> T_co: ...
26 async def aclose(self) -> None: ...
27 def __aiter__(self) -> ReadStream[T_co]: ...
28 async def __anext__(self) -> T_co: ...

Callers 2

_drain_stdoutFunction · 0.45
send_raw_requestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected