annotations-design-patterns
    Preparing search index...

    Class AsyncMemoryStore<K, V>

    In-process async store. Mutations on a key serialize in admission order; reads see the latest committed value without waiting for pending mutations. Clear and cleanup form barriers across all keys. An updater must not await another mutation on its own key, clear(), or cleanup(), because those operations wait for the updater to finish. Reentrancy detection is not provided.

    Type Parameters

    • K
    • V

    Implements

    Index
    capabilities: Readonly<
        {
            atomic: true;
            consistency: "strong";
            ttl: true;
            isolation: "instance";
            network: "none";
            locks: true;
            circuitBreaker: true;
        },
    > = memoryStoreCapabilities