(
fetchOptions: ObserverFetchOptions,
)
| 446 | } |
| 447 | |
| 448 | protected fetch( |
| 449 | fetchOptions: ObserverFetchOptions, |
| 450 | ): Promise<QueryObserverResult<TData, TError>> { |
| 451 | return this.#executeFetch({ |
| 452 | ...fetchOptions, |
| 453 | cancelRefetch: fetchOptions.cancelRefetch ?? true, |
| 454 | }).then(() => { |
| 455 | this.updateResult() |
| 456 | return this.#currentResult |
| 457 | }) |
| 458 | } |
| 459 | |
| 460 | #executeFetch( |
| 461 | fetchOptions?: Omit<ObserverFetchOptions, 'initialPromise'>, |
no test coverage detected