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

Function cleanup

packages/vue-query/src/vueQueryPlugin.ts:63–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61 }
62
63 const cleanup = () => {
64 client.unmount()
65 persisterUnmount()
66 }
67
68 if (app.onUnmount) {
69 app.onUnmount(cleanup)

Callers 6

vueQueryPlugin.tsFile · 0.85
test-setup.tsFile · 0.85
test-setup.tsFile · 0.85
test-setup.tsFile · 0.85
useQueriesFunction · 0.85
test-setup.tsFile · 0.85

Calls 2

persisterUnmountFunction · 0.85
unmountMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…