MCPcopy Create free account
hub / github.com/HuolalaTech/react-query-kit / sleep

Function sleep

tests/utils.tsx:36–40  ·  view source on GitHub ↗
(timeout: number)

Source from the content-addressed store, hash-verified

34}
35
36export function sleep(timeout: number): Promise<void> {
37 return new Promise((resolve, _reject) => {
38 setTimeout(resolve, timeout)
39 })
40}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected