MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / tick

Function tick

packages/vite/runtime/core-aliases-early.ts:202–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200 // Fallback polling if events API not ready
201 const start = Date.now();
202 const tick = () => {
203 if (isReady() || Date.now() - start > timeoutMs) return fn();
204 setTimeout(tick, 60);
205 };
206 return tick();
207 }
208 let done = false;

Callers 1

onceFunction · 0.85

Calls 2

isReadyFunction · 0.70
setTimeoutFunction · 0.50

Tested by

no test coverage detected