Expand description
submilli:session — a key-value store scoped to one session.
Rust host functions registered directly under the package name. Each op runs
check_security before touching the store; the gated capabilities are
cataloged in crate::stdlib::capabilities — keep it in sync when adding
or removing a gate (see AGENTS.md).
Storage is the embedder’s: StoreData::session_kv holds the provider. A
runtime with none configured refuses every op rather than inventing state,
so a program never silently writes into a store nobody can read back.
Keys and payloads stay UTF-16 code units from the guest $string to the
trait and back — see [value] for why.
Re-exports§
pub use declaration::package_declaration;
Modules§
- declaration
- Type surface of
submilli:session.