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

    Interface ConnectionStateEvent

    Event object representing a connection state transition. Used for history tracking and debugging.

    The service client type (must implement ServiceClient)

    interface ConnectionStateEvent {
        clientType: string | null;
        currentState: ConnectionState;
        error?: Error;
        previousState: ConnectionState;
        timestamp: Date;
    }
    Index

    Properties

    clientType: string | null

    The client type identifier at the time of transition (e.g. 'my-api')

    currentState: ConnectionState

    The new (current) connection state

    error?: Error

    Error that caused the transition (if applicable)

    previousState: ConnectionState

    The previous connection state

    timestamp: Date

    Timestamp when the transition occurred