annotations-design-patterns
    Preparing search index...

    Class VersionedMemoryStore<Value>

    Local reference implementation; its compare-and-set is synchronous and non-distributed. Values are retained by reference, without cloning or deep freezing. Treat stored values as immutable: external mutations do not advance their CAS version.

    Type Parameters

    • Value = unknown

    Implements

    Index
    capabilities: Readonly<{ compareExchange: true; ttl: true }> = ...