@adcp/sdk API Reference - v17.0.0-rc.0
    Preparing search index...

    Interface InMemoryAgentDiscoveryCache

    Process-local AgentDiscoveryCache with LRU eviction and copy-on-read/write.

    interface InMemoryAgentDiscoveryCache {
        get(key: string): AgentDiscoveryEntry | undefined;
        set(key: string, entry: AgentDiscoveryEntry): void;
        delete(key: string): void;
        clear(): void;
        size: number;
    }

    Hierarchy (View Summary)

    Index
    size: number

    Number of retained entries (including entries that have expired but not been read).