MCPcopy Create free account
hub / github.com/modelcontextprotocol/ext-apps / onAbort

Function onAbort

examples/pdf-server/server.ts:241–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

239 v instanceof Error ? reject(v) : resolve(v);
240 };
241 const onAbort = () => settle(new Error("interact request cancelled"));
242 const timer = setTimeout(
243 () => settle(new Error("Timeout waiting for page data from viewer")),
244 GET_PAGES_TIMEOUT_MS,

Callers

nothing calls this directly

Calls 1

settleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…