MCPcopy
hub / github.com/TanStack/query / fakeNetwork

Function fakeNetwork

examples/react/react-router/src/contacts.ts:96–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94}
95
96async function fakeNetwork() {
97 return new Promise((res) => {
98 setTimeout(res, Math.random() * 800)
99 })
100}

Callers 4

getContactsFunction · 0.85
createContactFunction · 0.85
getContactFunction · 0.85
updateContactFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…