Keystone

interface Keystone

Core entry point for the Keystone storage library.

Provides a type-safe key-value storage system with observation capabilities, entity persistence, and cross-platform (KMP) support.

The main entry point is Storage, which can be created via Storage.Companion.create.

See also

The main storage interface

The observation result container

Represents what can be observed

Typed value wrapper

DSL for building observation sets

Types

Link copied to clipboard
sealed class Entry

A sealed wrapper for a typed value stored in a Snapshot.

Link copied to clipboard
sealed class Observable

Represents a typed key that can be observed via Storage.observe.

Link copied to clipboard

DSL builder used with Storage.observe to declare which keys should be observed together with their default values.

Link copied to clipboard
data class Snapshot(val values: Map<String, Keystone.Entry>)

An immutable snapshot of key-value entries within a scope, emitted by observation flows.

Link copied to clipboard
interface Storage

Typed key-value storage interface with observation capabilities.