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

Method readCurrent

packages/lit-query/src/createQueryController.ts:202–208  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200 }
201
202 readCurrent(): QueryObserverResult<TData, TError> {
203 if (this.observer) {
204 this.assignObserverResult(this.observer.getCurrentResult())
205 }
206
207 return this.current
208 }
209
210 private subscribe(): void {
211 if (!this.observer) {

Callers 1

createQueryControllerFunction · 0.95

Calls 2

assignObserverResultMethod · 0.95
getCurrentResultMethod · 0.45

Tested by

no test coverage detected