* The latest result of the controller. * @returns The latest result. * @throws {Error} If no `QueryClient` could be resolved from context.
()
| 189 | * @throws {Error} If no `QueryClient` could be resolved from context. |
| 190 | */ |
| 191 | get current(): TResult { |
| 192 | if (this.queryClientResolutionState === 'missing') { |
| 193 | throw createMissingQueryClientError() |
| 194 | } |
| 195 | |
| 196 | return this.result |
| 197 | } |
| 198 | |
| 199 | /** |
| 200 | * Whether the controller's host is connected. |
nothing calls this directly
no test coverage detected