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

Function sleep

Example/e2etest/e2e/globalSetup.ts:159–161  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

157}
158
159function sleep(ms: number) {
160 return new Promise(resolve => setTimeout(resolve, ms));
161}
162
163async function waitForRequestReady(
164 url: string,

Callers 1

waitForRequestReadyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected