Skip to content

Feature request: set a max limit for parallel queries #864

Answered by TkDodo
beefancohen asked this question in General
Discussion options

You must be logged in to vote

We're not gonna build this into react query, because it's outside if it's responsibility. But have a look at TanStack Pacer:

https://tanstack.com/pacer/latest

it has all the tools you need for throttling, denouncing, queuing and rate limiting. The idea is that you wrap whatever you have in your queryFn with it.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@CHE1RON
Comment options

Comment options

You must be logged in to vote
2 replies
@CHE1RON
Comment options

@CHE1RON
Comment options

Answer selected by TkDodo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants