MCPcopy Index your code
hub / github.com/TanStack/form / sleep

Function sleep

packages/solid-form/tests/utils.ts:1–5  ·  view source on GitHub ↗
(timeout: number)

Source from the content-addressed store, hash-verified

1export function sleep(timeout: number): Promise<void> {
2 return new Promise((resolve, _reject) => {
3 setTimeout(resolve, timeout)
4 })
5}

Callers 4

CompFunction · 0.90
onChangeAsyncFunction · 0.90
onBlurAsyncFunction · 0.90
CompFunction · 0.90

Calls

no outgoing calls

Tested by 4

CompFunction · 0.72
onChangeAsyncFunction · 0.72
onBlurAsyncFunction · 0.72
CompFunction · 0.72