MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / isAbortError

Function isAbortError

shift/shift.ts:537–539  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

535 if (ms <= 0) return Promise.resolve();
536 return new Promise((resolve, reject) => {
537 if (signal?.aborted) {
538 reject(new DOMException("Operation aborted", "AbortError"));
539 return;
540 }
541
542 const timer = setTimeout(() => {

Callers 4

callbackFunction · 0.85
enqueueGroupMessageFunction · 0.85
executeMethod · 0.85
executeBackupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected