refreshInterval as function #1630
Unanswered
correttojs
asked this question in
Ideas
Replies: 2 comments
-
I would appreciate this functionality as well, and in particular would I like to reuse the exponential back-off behavior used in I'm happy to draft a PR, but I would like to see some discussion on it first, to see if it's even wanted in the first place. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is now landed in 1.1.1 (release). 🎉 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
currently the
refreshInterval
option can only be a number. In some cases this number should be dynamic, dependent on the updated fetched data.For example, the fetcher returns a list of items and a value corresponding to the next expected update.
Beta Was this translation helpful? Give feedback.
All reactions