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

Function clearTaskStore

server/src/training-agent/task-handlers.ts:309–312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

307
308/** Clear the task store (for tests). Calls cleanup() to cancel TTL timers. */
309export function clearTaskStore(): void {
310 sdkTaskStore?.cleanup();
311 sdkTaskStore = null;
312}
313
314/** Translate the agent's internal governance check shape into the wire-format
315 * details block carried on a GOVERNANCE_DENIED error. Storyboards assert

Calls 1

cleanupMethod · 0.45

Tested by

no test coverage detected