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

Function onAbort

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

Source from the content-addressed store, hash-verified

2953 }
2954 userResult = await new Promise<ElicitResult>(resolve => {
2955 const onAbort = () => {
2956 void resolve({ action: 'cancel' })
2957 }
2958 if (signal.aborted) {
2959 onAbort()
2960 return

Callers 1

Calls 1

resolveFunction · 0.70

Tested by

no test coverage detected