Skip to content

can I get interval time when I config the refetchInterval? #8290

Answered by TkDodo
lili21 asked this question in General
Discussion options

You must be logged in to vote

we don’t expose that because we only schedule a setTimeout to trigger the next fetch in N seconds. We also can’t even determine at which granularity that should be exposed. Update once every second? Once every couple of seconds? Ten times a second?

If you want that, you have to do it yourself in user-land.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lili21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants