swr icon indicating copy to clipboard operation
swr copied to clipboard

Get duration of remaining refresh interval?

Open icopp opened this issue 5 years ago • 0 comments

I have a cached backend API, and I'd like to have a 'countdown clock' timer on the frontend. refreshInterval covers being able to actually perform the update, but not having a 'remaining milliseconds' number that I can use for UI updating.

icopp avatar Mar 13 '20 22:03 icopp