Types

Link copied to clipboard
class Cache<T>(val data: T)

Properties

Link copied to clipboard
abstract val defaultValue: T
Link copied to clipboard
abstract val flow: Flow<T>
Link copied to clipboard
abstract val key: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun getCache(): StorageSetting.Cache<T>?
Link copied to clipboard
abstract fun getCachedValue(): T?
Link copied to clipboard
abstract operator fun getValue(thisRef: SettingsModel, property: KProperty<*>): StorageSetting<T>
Link copied to clipboard
Link copied to clipboard
open suspend fun read(): T
Link copied to clipboard
open suspend fun reset(): Boolean
Link copied to clipboard
Link copied to clipboard
abstract suspend fun update(value: T)