Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/QodeXcli/QodeX
/ onAbort
Function
onAbort
src/utils/retry.ts:59–62 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
57
resolve();
58
}, ms);
59
const
onAbort = () => {
60
cleanup();
61
reject(
new
Error(
'aborted'
));
62
};
63
const
cleanup = () => {
64
clearTimeout(t);
65
signal?.removeEventListener(
'abort'
, onAbort);
Callers
1
requestWithTimeout
Method · 0.50
Calls
1
cleanup
Function · 0.70
Tested by
no test coverage detected