tsuki
Explore posts from serversTTCTheo's Typesafe Cult
•Created by tsuki on 3/12/2024 in #questions
Properly setting a minimum delay when fetching data from external api
the point is that i don't want to fetch data more than 10 times a second.
i've got a search field, that when changed, calls
the search input has some debouncing to ensure my internal trpc methods don't get called more than necessary, but i'd like to be completely sure, that the scryfall api, does not get hit more than is allowed, (ie. ~10 times each second).
i'll mark your response as the solution, as it (so far at least) seems to be the proper way to "?rate limit?" the calls to the scryfall api, myself.
4 replies
TTCTheo's Typesafe Cult
•Created by tsuki on 11/2/2023 in #questions
onSuccess, onError and onSettled deprecated next major version?
cheers
16 replies