Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

useisfetching.md

24 lines466 Bytes

1---
2id: useIsFetching
3title: useIsFetching
4---
5​
6# Function: useIsFetching()
7​
8```ts
9function useIsFetching(filters?, queryClient?): Readable<number>
10```
11​
12## Parameters
13​
14β€’ **filters?**: `QueryFilters`
15​
16β€’ **queryClient?**: `QueryClient`
17​
18## Returns
19​
20`Readable`\<`number`\>
21​
22## Defined in
23​
24[packages/svelte-query/src/useIsFetching.ts:10](https://github.com/TanStack/query/blob/dac5da5416b82b0be38a8fb34dde1fc6670f0a59/packages/svelte-query/src/useIsFetching.ts#L10)