MCPcopy Create free account
hub / github.com/dajie111/nodeseek-userscript / rejectCodeForAbort

Function rejectCodeForAbort

nodeImage.js:228–230  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

226 if (uas) uas.xhrHandle = null;
227 }
228 function rejectCodeForAbort() {
229 return uas && uas.abortScope === 'file' ? 'ABORT_FILE' : 'ABORT';
230 }
231 if (uas) {
232 /** 新请求开始时清理上一文件「取消」遗留状态,否则 onload 会误判为已取消且快捷面板多图队列无法继续 */
233 uas.userAborted = false;

Callers 1

gmFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected