MCPcopy Create free account
hub / github.com/adcontextprotocol/adcp / clearIdempotencyCache

Function clearIdempotencyCache

server/src/training-agent/idempotency.ts:126–130  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124
125/** Reset the store — tests only. Safe to call when no store has been created. */
126export async function clearIdempotencyCache(): Promise<void> {
127 const current = storeInstance;
128 storeInstance = null;
129 if (current) await current.close();
130}
131
132export type { IdempotencyCheckResult };

Calls

no outgoing calls

Tested by

no test coverage detected