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

Function clearAllAsyncHooks

src/utils/hooks/AsyncHookRegistry.ts:304–309  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

302
303// Test utility function to clear all hooks
304export function clearAllAsyncHooks(): void {
305 for (const hook of pendingHooks.values()) {
306 hook.stopProgressInterval()
307 }
308 pendingHooks.clear()
309}
310

Callers

nothing calls this directly

Calls 2

valuesMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected