ObservableCacheStore

The actual source and sink of the data to be cached. This could be any database.

Functions

Link copied to clipboard
abstract suspend fun deleteAll()

Delete all values from store.

Link copied to clipboard
abstract suspend fun get(key: K): V?

Retrieve value from store.

Link copied to clipboard
abstract suspend fun persist(key: K, value: V?)

Save value to store.