MCPcopy Create free account
hub / github.com/TanStack/query / doSleep

Function doSleep

examples/solid/streaming-solid-start2/src/services/users/api.ts:1–1  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

1const doSleep = (ms: number) => new Promise((r) => setTimeout(r, ms))
2
3export const usersAPI = {
4 getUser: async ({

Callers 1

api.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected