MCPcopy Index your code
hub / github.com/codeaashu/claude-code / onAbort

Function onAbort

src/services/mcp/elicitationHandler.ts:115–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

113
114 const response = new Promise<ElicitResult>(resolve => {
115 const onAbort = () => {
116 resolve({ action: 'cancel' })
117 }
118
119 if (extra.signal.aborted) {
120 onAbort()

Callers 1

Calls 1

resolveFunction · 0.70

Tested by

no test coverage detected