Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
304
export
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
values
Method · 0.80
clear
Method · 0.45
Tested by
no test coverage detected