ObjectStore

class ObjectStore(storeWriter: ObjectStoreWriter = InMemoryStoreWriter(), storeSerializer: ObjectStoreSerializer = ObjectStoreSerializer)

Constructors

Link copied to clipboard
fun ObjectStore(storeWriter: ObjectStoreWriter = InMemoryStoreWriter(), storeSerializer: ObjectStoreSerializer = ObjectStoreSerializer)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun clear()
Link copied to clipboard
inline fun <T : Any> get(default: T? = null, key: String? = null): T
Link copied to clipboard
inline fun <T : Any> getFlow(default: T? = null, key: String? = null): StateFlow<T?>
Link copied to clipboard
inline fun <T : Any> getOrNull(key: String? = null): T?
Link copied to clipboard
fun keys(): Set<String>
Link copied to clipboard
inline fun <T : Any> put(value: T?, key: String? = null)
Link copied to clipboard
inline fun <T : Any> remove(key: String? = null)