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

    Interface AgentDiscoveryCache

    Storage backend for shared discovery entries. Keys are opaque SHA-256 digests derived by the SDK; implementations must not interpret them and must return copies (or immutable values) so callers cannot mutate stored entries. Methods may be synchronous or asynchronous.

    interface AgentDiscoveryCache {
        get(
            key: string,
        ):
            | AgentDiscoveryEntry
            | Promise<AgentDiscoveryEntry | undefined>
            | undefined;
        set(key: string, entry: AgentDiscoveryEntry): void | Promise<void>;
        delete(key: string): void | Promise<void>;
    }

    Hierarchy (View Summary)

    Index