You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.
One of my use-cases for Store is to provide a in-memory cache for a SQLite backed disk storage. This disk storage is updated from multiple places, but since Store only reads a single value from the persister, the updated values never get delivered to subscribers.
Is there a solution to this? The clearMemory() doesn't work, so I cannot force invalidate the in-memory cache. Is it even worth using Store here?
The text was updated successfully, but these errors were encountered:
saket
changed the title
Read a stream of infinite values from disk
Observe changes in disk without invalidating cache
May 23, 2018
#338 will fix your issue, it won't be Room specific but will be a reimplementation of the Store base class & Persister to allow observables rather than singles from disk
One of my use-cases for Store is to provide a in-memory cache for a SQLite backed disk storage. This disk storage is updated from multiple places, but since Store only reads a single value from the persister, the updated values never get delivered to subscribers.
Is there a solution to this? The
clearMemory()
doesn't work, so I cannot force invalidate the in-memory cache. Is it even worth using Store here?The text was updated successfully, but these errors were encountered: