(
fetchOptions: ObserverFetchOptions,
)
| 320 | } |
| 321 | |
| 322 | protected fetch( |
| 323 | fetchOptions: ObserverFetchOptions, |
| 324 | ): Promise<QueryObserverResult<TData, TError>> { |
| 325 | return this.#executeFetch({ |
| 326 | ...fetchOptions, |
| 327 | cancelRefetch: fetchOptions.cancelRefetch ?? true, |
| 328 | }).then(() => { |
| 329 | this.updateResult() |
| 330 | return this.#currentResult |
| 331 | }) |
| 332 | } |
| 333 | |
| 334 | #executeFetch( |
| 335 | fetchOptions?: Omit<ObserverFetchOptions, 'initialPromise'>, |
no test coverage detected