MCPcopy
hub / github.com/modelcontextprotocol/python-sdk / park

Function park

tests/client/test_session_concurrency.py:40–43  ·  view source on GitHub ↗
(tag: str)

Source from the content-addressed store, hash-verified

38
39 @server.tool()
40 async def park(tag: str) -> str:
41 started[tag].set()
42 await release[tag].wait()
43 return f"result:{tag}"
44
45 async with Client(server) as client:
46

Callers

nothing calls this directly

Calls 1

waitMethod · 0.80

Tested by

no test coverage detected