(
protected readonly host: ReactiveControllerHost,
initialResult: TResult,
queryClient?: QueryClient,
)
| 28 | private queryClientResolutionState: QueryClientResolutionState |
| 29 | |
| 30 | protected constructor( |
| 31 | protected readonly host: ReactiveControllerHost, |
| 32 | initialResult: TResult, |
| 33 | queryClient?: QueryClient, |
| 34 | ) { |
| 35 | this.explicitClient = queryClient |
| 36 | this.result = initialResult |
| 37 | this.queryClientResolutionState = queryClient ? 'bound' : 'pre-connect' |
| 38 | |
| 39 | host.addController(this) |
| 40 | } |
| 41 | |
| 42 | hostConnected(): void { |
| 43 | if (this.connected || this.destroyed) { |
nothing calls this directly
no test coverage detected