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