#Periodic useFetch() gets cancelled almost everytime

4 messages · Page 1 of 1 (latest)

haughty field
grim haven
#

Maybe the dedupe option for useFetch is something to look at

dedupe: avoid fetching same key more than once at a time (defaults to cancel). Possible options:
cancel - cancels existing requests when a new one is made
defer - does not make new requests at all if there is a pending request

#

Sounds like every call gets cancelled because they don't run in completion before the next call is made. Try setting dedupe to defer instead

haughty field
#

Gnah, discord didn't ping me on your reply... I've just tested defer, with no visible difference.