Retry on specific response
Hello,
How can one retry a query upon a specific successful response rather than an error ?
Cheers
2 Replies
correct-apricot•3y ago
Throw an exception from inside your queryFn when you get that specific response
flat-fuchsiaOP•3y ago
Yeah that's what I've been doing. Just wondered if there's a 'cleaner' way to do it.
Cheers