(
client: QueryClient,
public options: QueryObserverOptions<
TQueryFnData,
TError,
TData,
TQueryData,
TQueryKey
>,
)
| 65 | #trackedProps = new Set<keyof QueryObserverResult>() |
| 66 | |
| 67 | constructor( |
| 68 | client: QueryClient, |
| 69 | public options: QueryObserverOptions< |
| 70 | TQueryFnData, |
| 71 | TError, |
| 72 | TData, |
| 73 | TQueryData, |
| 74 | TQueryKey |
| 75 | >, |
| 76 | ) { |
| 77 | super() |
| 78 | |
| 79 | this.#client = client |
| 80 | this.#selectError = null |
| 81 | |
| 82 | this.bindMethods() |
| 83 | this.setOptions(options) |
| 84 | } |
| 85 | |
| 86 | protected bindMethods(): void { |
| 87 | this.refetch = this.refetch.bind(this) |
nothing calls this directly
no test coverage detected