MCPcopy
hub / github.com/di-sukharev/opencommit / onabort

Function onabort

out/cli.cjs:73496–73503  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

73494};
73495
73496// node_modules/axios/lib/helpers/composeSignals.js
73497var composeSignals = (signals, timeout) => {
73498 const { length } = signals = signals ? signals.filter(Boolean) : [];
73499 if (timeout || length) {
73500 let controller = new AbortController();
73501 let aborted;
73502 const onabort = function(reason) {
73503 if (!aborted) {
73504 aborted = true;
73505 unsubscribe();
73506 const err = reason instanceof Error ? reason : this.reason;

Callers 1

composeSignalsFunction · 0.85

Calls 2

unsubscribeFunction · 0.85
abortMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…