Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/adobe/react-spectrum
/ retryOrFail
Function
retryOrFail
scripts/testDocs.js:53–59 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
51
};
52
53
const
retryOrFail = () => {
54
if
(Date.now() - startTime < timeout) {
55
setTimeout(checkServer, interval);
56
}
else
{
57
reject(
new
Error(
'Server did not start in time'
));
58
}
59
};
60
61
checkServer();
62
});
Callers
1
checkServer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected