Cell API
    Preparing search index...

    Interface AgentSessionManager

    Live sessions of the application, by pi's session id. They are disposed when the application stops.

    interface AgentSessionManager {
        create(options?: AgentSessionOptions): Promise<AgentSession>;
        dispose(id: string): void;
        disposeAll(): void;
        find(id: string): AgentSession | undefined;
        get(id: string): AgentSession;
        info(id: string): AgentSessionInfo;
        list(): AgentSessionInfo[];
    }

    Implemented by

    Index
    • Aborts the running work of the session and forgets it.

      Parameters

      • id: string

      Returns void