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

Function current

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

Source from the content-addressed store, hash-verified

145 }
146
147 get current(): TResult {
148 if (this.queryClientResolutionState === 'missing') {
149 throw createMissingQueryClientError()
150 }
151
152 return this.result
153 }
154
155 protected get connectedState(): boolean {
156 return this.connected

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected