MCPcopy
hub / github.com/simstudioai/sim / cleanupAbort

Function cleanupAbort

apps/sim/lib/core/security/input-validation.server.ts:645–650  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

643
644 let onAbort: (() => void) | null = null
645 const cleanupAbort = () => {
646 if (onAbort && options.signal) {
647 options.signal.removeEventListener('abort', onAbort)
648 onAbort = null
649 }
650 }
651 const settledResolve: typeof resolve = (value) => {
652 resolve(value)
653 }

Callers 4

secureFetchWithPinnedIPFunction · 0.85
startFunction · 0.85
cancelFunction · 0.85
settledRejectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected