MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / hook

Function hook

tests/lib/tools/memory_sync/test_e2e_memory.py:425–427  ·  view source on GitHub ↗
(path: str)

Source from the content-addressed store, hash-verified

423 never = asyncio.Event()
424
425 async def hook(path: str) -> None:
426 if path == "stuck.md":
427 await asyncio.wait_for(never.wait(), timeout=5)
428
429 server.upload_hook = hook
430

Callers

nothing calls this directly

Calls 1

waitMethod · 0.45

Tested by

no test coverage detected