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

Method onOnline

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

* Calls Query#onOnline on every cached query, in one batch. * @internal

()

Source from the content-addressed store, hash-verified

384 * @internal
385 */
386 onOnline(): void {
387 notifyManager.batch(() => {
388 this.getAll().forEach((query) => {
389 query.onOnline()
390 })
391 })
392 }
393}

Callers

nothing calls this directly

Calls 1

getAllMethod · 0.95

Tested by

no test coverage detected