Interface ConnectDiscoveryCache

Caller-owned cache seam. Values are versioned raw discovery observations; capability policy is reapplied after every read.

interface ConnectDiscoveryCache {
    get(identity: DiscoveryCacheIdentity, context: ConnectDiscoveryCacheContext): undefined | ConnectDiscoverySnapshot | Promise<undefined | ConnectDiscoverySnapshot>;
    set(identity: DiscoveryCacheIdentity, snapshot: ConnectDiscoverySnapshot, context: ConnectDiscoveryCacheContext): void | Promise<void>;
}

Methods

Methods