MCP Server Framework - v1.0.0
    Preparing search index...

    Interface ConnectionStateStats

    Statistics about the connection state manager.

    interface ConnectionStateStats {
        historyLength: number;
        isConnected: boolean;
        lastError: Error | null;
        listenerCount: number;
        state: ConnectionState;
    }
    Index

    Properties

    historyLength: number

    Number of state transitions in history

    isConnected: boolean

    Whether currently connected

    lastError: Error | null

    Last error if any

    listenerCount: number

    Number of registered listeners

    Current connection state