(
protected readonly host: ReactiveControllerHost,
initialResult: TResult,
queryClient?: QueryClient,
)
| 34 | private queryClientResolutionState: QueryClientResolutionState |
| 35 | |
| 36 | protected constructor( |
| 37 | protected readonly host: ReactiveControllerHost, |
| 38 | initialResult: TResult, |
| 39 | queryClient?: QueryClient, |
| 40 | ) { |
| 41 | this.explicitClient = queryClient |
| 42 | this.result = initialResult |
| 43 | this.queryClientResolutionState = queryClient ? 'bound' : 'pre-connect' |
| 44 | |
| 45 | host.addController(this) |
| 46 | } |
| 47 | |
| 48 | /** |
| 49 | * Starts resolving the `QueryClient` from context, unless one was passed |
nothing calls this directly
no outgoing calls
no test coverage detected