T
TanStack2y ago
conscious-sapphire

Delay query invalidation

Is there a way to invalidate query request after successful mutation, but only after a couple of seconds? Settimeout doesn't seem to do the work, since the query gets called ~2 seconds after success no matter how high the timeout is Also, is there a way to retry the query every X seconds but only a specific amount of times with invalidation?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?