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

Function wait

apps/automated/src/tk-unit.ts:345–347  ·  view source on GitHub ↗
(seconds: number)

Source from the content-addressed store, hash-verified

343}
344
345export function wait(seconds: number): void {
346 waitUntilReady(() => false, seconds, false);
347}
348
349export function waitUntilReady(isReady: () => boolean, timeoutSec: number = 5, shouldThrow: boolean = true) {
350 if (!isReady) {

Callers

nothing calls this directly

Calls 1

waitUntilReadyFunction · 0.85

Tested by

no test coverage detected