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

Function onAny

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

Source from the content-addressed store, hash-verified

216 fn();
217 };
218 const onAny = () => {
219 if (isReady()) finish();
220 };
221 a.on(a.activityStartedEvent || 'activityStarted', onAny);
222 a.on(a.activityResumedEvent || 'activityResumed', onAny);
223 setTimeout(finish, timeoutMs);

Callers

nothing calls this directly

Calls 2

isReadyFunction · 0.70
finishFunction · 0.70

Tested by

no test coverage detected