Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/reactnativecn/react-native-update
/ retry
Function
retry
Example/testHotUpdate/e2e/globalSetup.js:83–89 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
81
};
82
83
const
retry = () => {
84
if
(Date.now() - start > timeoutMs) {
85
reject(
new
Error(
'Local artifacts server did not become ready in time.'
));
86
return
;
87
}
88
setTimeout(poll, 300);
89
};
90
91
poll();
92
});
Callers
1
poll
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected