Documentation
    Preparing search index...

    Interface IAgentStore

    In-memory store for AgentInfo records.

    interface IAgentStore {
        delete(agentId: string): void;
        get(agentId: string): AgentInfoSigned | undefined;
        getAll(): AgentInfoSigned[];
        store(agents: AgentInfoSigned[]): void;
    }

    Implemented by

    Index

    Methods

    • Removes the record for the given id, if present. No-op when absent.

      Parameters

      • agentId: string

      Returns void