Package org.brightify.hyperdrive.multiplatformx.keyvalue

Types

KeyValueStorage
Link copied to clipboard
interface KeyValueStorage
A storage for key-value pairs.

Functions

property
Link copied to clipboard
fun <OWNER, T : Any> KeyValueStorage.property(key: KeyValueStorage.Key<T>): ReadWriteProperty<OWNER, T?>
A property delegate for the given key.
fun <OWNER, T : Any> KeyValueStorage.property(key: KeyValueStorage.Key<T>, defaultValue: T): ReadWriteProperty<OWNER, T>
A property delegate for the given key.