Need to access async methods inside getCachedData, idea?
As the title says, my goal is to access an
IndexedDB
IndexedDB
from the
getCachedData
getCachedData
as a way to check if the query has been cached or not. But the issue is that the
IndexedDB
IndexedDB
API is async and
getCachedData
getCachedData
does not support async inside it.
I'm not sure to understand if there was a specific reason for that choice or if it's just something that defaulted like that. If the maintainers are open to suggestion/API change (changing getCachedData to async, I'm willing to open a PR for that).