MCPcopy Create free account
hub / github.com/reactnativecn/react-native-update / retry

Function retry

Example/e2etest/e2e/globalSetup.ts:145–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

143 };
144
145 const retry = () => {
146 if (Date.now() - start > timeoutMs) {
147 reject(
148 new Error('Local artifacts server did not become ready in time.'),
149 );
150 return;
151 }
152 setTimeout(poll, 300);
153 };
154
155 poll();
156 });

Callers 1

pollFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected