Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/modelcontextprotocol/python-sdk
/ _aclose_all
Function
_aclose_all
src/mcp/client/stdio.py:351–354 ·
view source on GitHub ↗
Closes every given stream.
(*streams: AsyncResource)
Source
from the content-addressed store, hash-verified
349
350
351
async
def
_aclose_all(*streams: AsyncResource) -> None:
352
""
"Closes every given stream."
""
353
for
stream in streams:
354
await stream.aclose()
Callers
1
shutdown
Function · 0.85
Calls
1
aclose
Method · 0.45
Tested by
no test coverage detected