MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / abortSignal

Function abortSignal

out/cli.cjs:10393–10399  ·  view source on GitHub ↗
(signal)

Source from the content-addressed store, hash-verified

10391 return signal;
10392 }
10393 function abortSignal(signal) {
10394 if (abortedFlags.get(signal) !== false) {
10395 return;
10396 }
10397 abortedFlags.set(signal, true);
10398 signal.dispatchEvent({ type: "abort" });
10399 }
10400 var abortedFlags = /* @__PURE__ */ new WeakMap();
10401 Object.defineProperties(AbortSignal2.prototype, {
10402 aborted: { enumerable: true }

Callers 1

abortMethod · 0.85

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…