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

Function onAbort

src/utils/computerUse/wrapper.tsx:316–319  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

314 return;
315 }
316 const onAbort = (): void => {
317 signal.removeEventListener('abort', onAbort);
318 reject(new Error('Computer Use permission dialog aborted'));
319 };
320 signal.addEventListener('abort', onAbort);
321 setToolJSX({
322 jsx: React.createElement(ComputerUseApproval, {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected