API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
classMemoryStore
In-memory KeyValueStore backed by a `Map`. Holds values **by reference** — no cloning, no serialization — so it accepts any value but does not persist across sessions and does not isolate the caller from later mutation of a stored object. Ideal for tests and ephemeral data, and as a drop-in store when persistence is not needed.
import { MemoryStore } from '@codexo/exojs' In-memory KeyValueStore backed by a `Map`. Holds values **by reference** — no cloning, no serialization — so it accepts any value but does not persist across sessions and does not isolate the caller from later mutation of a stored object. Ideal for tests and ephemeral data, and as a drop-in store when persistence is not needed.
new(): MemoryStore clear(): Promise<boolean> delete(key: string): Promise<boolean> get(key: string): Promise<T | null> has(key: string): Promise<boolean> set(key: string, value: unknown): Promise<void>