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

Method isMutating

src/queryCore/core/queryClient.ts:101–103  ·  view source on GitHub ↗
(filters?: MutationFilters)

Source from the content-addressed store, hash-verified

99 }
100
101 isMutating(filters?: MutationFilters): number {
102 return this.mutationCache.findAll({ ...filters, fetching: true }).length
103 }
104
105 getQueryData<TData = unknown>(
106 queryKey: QueryKey,

Callers 1

useIsMutatingFunction · 0.80

Calls 1

findAllMethod · 0.45

Tested by

no test coverage detected