MCPcopy Create free account
hub / github.com/SvelteStack/svelte-query / refetch

Method refetch

src/queryCore/core/queryObserver.ts:319–326  ·  view source on GitHub ↗
(
    options?: RefetchOptions & RefetchQueryFilters<TPageData>
  )

Source from the content-addressed store, hash-verified

317 }
318
319 refetch<TPageData>(
320 options?: RefetchOptions & RefetchQueryFilters<TPageData>
321 ): Promise<QueryObserverResult<TData, TError>> {
322 return this.fetch({
323 ...options,
324 meta: { refetchPage: options?.refetchPage },
325 })
326 }
327
328 fetchOptimistic(
329 options: QueryObserverOptions<

Callers 2

onFocusMethod · 0.80
onOnlineMethod · 0.80

Calls 1

fetchMethod · 0.95

Tested by

no test coverage detected