MCPcopy
hub / github.com/pmndrs/zustand / sleep

Function sleep

tests/test-utils.ts:35–37  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

33}
34
35export function sleep(ms: number): Promise<void> {
36 return new Promise((resolve) => setTimeout(resolve, ms))
37}

Callers 4

getItemFunction · 0.90
setItemFunction · 0.90
removeItemFunction · 0.90

Calls

no outgoing calls

Tested by 3

getItemFunction · 0.72
setItemFunction · 0.72
removeItemFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…