I’m wondering, if you set up a query with a pollInterval
, but then manually trigger the query with refetch
, does that reset the timer? It appears not, but I just wanted to get confirmation.
If not, I think it’d make a nice future feature.
I’m wondering, if you set up a query with a pollInterval
, but then manually trigger the query with refetch
, does that reset the timer? It appears not, but I just wanted to get confirmation.
If not, I think it’d make a nice future feature.
We currently don’t have any logic which resets polling timers on refetch()
. If you want to open an issue on the apollo client repository like reset pollInterval on refetch
and ping me @brainkim
, I’m happy to add that to my list of TODOs.
Thanks for the feedback!