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

Method onFocus

packages/query-core/src/queryCache.ts:337–343  ·  view source on GitHub ↗

@internal

()

Source from the content-addressed store, hash-verified

335
336 /** @internal */
337 onFocus(): void {
338 notifyManager.batch(() => {
339 this.getAll().forEach((query) => {
340 query.onFocus()
341 })
342 })
343 }
344
345 /** @internal */
346 onOnline(): void {

Callers

nothing calls this directly

Calls 1

getAllMethod · 0.95

Tested by

no test coverage detected