MCPcopy Create free account
hub / github.com/codeaashu/claude-code / clearPostSamplingHooks

Function clearPostSamplingHooks

src/utils/hooks/postSamplingHooks.ts:38–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 * Clear all registered post-sampling hooks (for testing)
37 */
38export function clearPostSamplingHooks(): void {
39 postSamplingHooks.length = 0
40}
41
42/**
43 * Execute all registered post-sampling hooks

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected