MCPcopy Index your code
hub / github.com/TanStack/query / unsubscribeIfQueued

Function unsubscribeIfQueued

packages/solid-query/src/useBaseQuery.ts:170–175  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

168 }
169
170 const unsubscribeIfQueued = () => {
171 if (unsubscribeQueued) {
172 unsubscribe?.()
173 unsubscribeQueued = false
174 }
175 }
176
177 const createClientSubscriber = () => {
178 const obs = observer()

Callers 1

createServerSubscriberFunction · 0.85

Calls 1

unsubscribeFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…