MCPcopy
hub / github.com/youzan/vant / later

Function later

packages/vant/test/index.ts:24–28  ·  view source on GitHub ↗
(delay = 0)

Source from the content-addressed store, hash-verified

22
23// promisify setTimeout
24export function later(delay = 0): Promise<void> {
25 return new Promise((resolve) => {
26 setTimeout(resolve, delay);
27 });
28}
29
30export const renderComponentToString = async (
31 ...args: Parameters<typeof createSSRApp>

Callers 15

index.spec.tsxFile · 0.90
index.spec.tsFile · 0.90
index.spec.tsFile · 0.90
index.spec.tsxFile · 0.90
setupFunction · 0.90
index.spec.tsFile · 0.90
index.spec.tsFile · 0.90
index.spec.tsFile · 0.90
prop.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by 2

setupFunction · 0.72
submitFormFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…