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

Function hostUpdate

packages/lit-query/src/controllers/BaseController.ts:110–121  ·  view source on GitHub ↗

* Calls `onHostUpdate` before the host renders. Results set during this call * don't request another update.

()

Source from the content-addressed store, hash-verified

108 * don't request another update.
109 */
110 hostUpdate(): void {
111 if (this.destroyed) {
112 return
113 }
114
115 this.isHostUpdating = true
116 try {
117 this.onHostUpdate()
118 } finally {
119 this.isHostUpdating = false
120 }
121 }
122
123 /**
124 * Permanently disconnects the controller and removes it from its host, if

Callers

nothing calls this directly

Calls 1

onHostUpdateMethod · 0.45

Tested by

no test coverage detected