nanostores / query

⚡️ Powerful data fetching library for Nano Stores. TS/JS. Framework agnostic.
MIT License
229 stars 10 forks source link

Custom `dedupeTime` depending on fetch success (solution for #23) #35

Closed eta-orionis closed 7 months ago

eta-orionis commented 7 months ago

Allows to set dedupeTime to either a fixed number of milliseconds, or to a function that calculates the dedupeTime for every fetch separately. This allows creating a backoff mechanism if necessary, without too much overhead.

dkzlv commented 7 months ago

Closed in favor of #36.