InMemoryDataStore

Implementation of DataStore that just uses an in-memory map for mocking/unit tests

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun clear(key: String)
Link copied to clipboard
open override fun fetch(key: String): String?
Link copied to clipboard
open override fun offStoreChange(observer: StoreObserver)
Link copied to clipboard
open override fun onStoreChange(observer: StoreObserver)
Link copied to clipboard
open override fun store(key: String, value: String)