Theia API Documentation v1.76.0
    Preparing search index...

    Connects this frontend to the external session API of the backend.

    Injecting the ExternalChatSessionBackendService proxy on application start eagerly establishes the RPC connection through which the backend queries this frontend for session information. In the other direction, this contribution observes the frontend's chat sessions and notifies the backend about changes that are visible to external API clients (session lifecycle, titles, and status), debounced to coalesce bursts of changes.

    Implements

    Index

    Constructors

    Properties

    chatService: ChatService
    notifyBackend: DebouncedFunc<() => void> = ...
    notifyDelay: 200

    Debounce delay in milliseconds for change notifications to the backend.

    notifyMaxDelay: 1000

    Maximum time in milliseconds a continuously changing session may defer a notification.

    sessionListeners: Map<string, Disposable> = ...

    Status listeners per tracked session, disposed when the session is deleted.

    Methods