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

Function queueUpdate

packages/lit-query/src/controllers/BaseController.ts:159–171  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157 }
158
159 protected queueUpdate(): void {
160 if (this.updateQueued) {
161 return
162 }
163
164 this.updateQueued = true
165 queueMicrotask(() => {
166 this.updateQueued = false
167 if (!this.destroyed) {
168 this.host.requestUpdate()
169 }
170 })
171 }
172
173 private queueQueryClientChanged(): void {
174 if (this.clientChangeQueued) {

Callers

nothing calls this directly

Calls 1

requestUpdateMethod · 0.45

Tested by

no test coverage detected