()
| 125 | } |
| 126 | |
| 127 | protected getQueryClient(): QueryClient { |
| 128 | const client = this.tryGetQueryClient() |
| 129 | if (!client) { |
| 130 | throw createMissingQueryClientError() |
| 131 | } |
| 132 | |
| 133 | return client |
| 134 | } |
| 135 | |
| 136 | protected setResult(next: TResult): void { |
| 137 | if (Object.is(this.result, next)) { |
nothing calls this directly
no test coverage detected