(
fetchOptions: ObserverFetchOptions,
)
| 339 | } |
| 340 | |
| 341 | protected fetch( |
| 342 | fetchOptions: ObserverFetchOptions, |
| 343 | ): Promise<QueryObserverResult<TData, TError>> { |
| 344 | return this.#executeFetch({ |
| 345 | ...fetchOptions, |
| 346 | cancelRefetch: fetchOptions.cancelRefetch ?? true, |
| 347 | }).then(() => { |
| 348 | this.updateResult() |
| 349 | return this.#currentResult |
| 350 | }) |
| 351 | } |
| 352 | |
| 353 | #executeFetch( |
| 354 | fetchOptions?: Omit<ObserverFetchOptions, 'initialPromise'>, |
no test coverage detected