Skip to content

listenerMiddleware and RTK Query #4300

Answered by EskiMojo14
sbeigel asked this question in Q&A
Discussion options

You must be logged in to vote

the listener middleware can't throttle anything from RTKQ. it's only called after actions are already dispatched, and the RTKQ mechanisms are already happening.

my suspicion is that throttling would need to be done via a custom base query.

Replies: 1 comment 1 reply

Comment options

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

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