MCPcopy Create free account
hub / github.com/Noumena-Network/code / cleanup

Function cleanup

src/services/mcp/client.ts:544–547  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

542 }
543
544 const cleanup = () => {
545 clearTimeout(timer)
546 parentSignal?.removeEventListener('abort', abort)
547 }
548
549 try {
550 const response = await baseFetch(url, {

Callers 2

wrapFetchWithTimeoutFunction · 0.70
wrappedCleanupFunction · 0.70

Calls 5

logMCPDebugFunction · 0.85
resolveFunction · 0.70
sleepFunction · 0.50
closeMethod · 0.45
killMethod · 0.45

Tested by

no test coverage detected