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

Function set

examples/react/react-router/src/contacts.ts:92–94  ·  view source on GitHub ↗
(contacts: Contact[])

Source from the content-addressed store, hash-verified

90}
91
92function set(contacts: Contact[]) {
93 return localforage.setItem('contacts', contacts)
94}
95
96async function fakeNetwork() {
97 return new Promise((res) => {

Callers 8

createMutationFunction · 0.85
useMutationStateFunction · 0.85
useIsMutatingFunction · 0.85
useIsFetchingFunction · 0.85
seedFunction · 0.85
createContactFunction · 0.85
updateContactFunction · 0.85
deleteContactFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected