MCPcopy Create free account
hub / github.com/Noumena-Network/code / resetStallTimer

Function resetStallTimer

src/utils/nativeInstaller/download.ts:245–248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

243 }
244
245 const resetStallTimer = () => {
246 clearStallTimer()
247 stallTimer = setTimeout(c => c.abort(), getStallTimeoutMs(), controller)
248 }
249
250 try {
251 // Start the stall timer before the request

Callers 1

downloadAndVerifyBinaryFunction · 0.85

Calls 2

clearStallTimerFunction · 0.85
getStallTimeoutMsFunction · 0.85

Tested by

no test coverage detected