MCPcopy Create free account
hub / github.com/vercel/vercel / sleep

Function sleep

packages/cli/test/dev/utils.ts:21–23  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

19const isCI = !!process.env.CI;
20
21export function sleep(ms: number) {
22 return new Promise(resolve => setTimeout(resolve, ms));
23}
24
25const BASE_PORT = 3000;
26const PORTS_PER_WORKER = 1000;

Callers 15

nukePIDFunction · 0.70
vcDevWithEnvFunction · 0.50
vcDevAndFetchCloudVarsFunction · 0.50
vcDevAndFetchSystemVarsFunction · 0.50
waitForDeploymentFunction · 0.50
index.test.tsFile · 0.50
slowlyDeployFunction · 0.50
index.test.tsFile · 0.50

Calls

no outgoing calls

Tested by 7

vcDevWithEnvFunction · 0.40
vcDevAndFetchCloudVarsFunction · 0.40
vcDevAndFetchSystemVarsFunction · 0.40
waitForDeploymentFunction · 0.40
slowlyDeployFunction · 0.40
slowlyDeployFunction · 0.40
waitForCacheFileFunction · 0.40