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

    This component replicates the role filled by MessagingContribution but for Electron. Unlike the WebSocket based implementation, we do not expect to receive connection events. Instead, we'll create channels based on incoming open events on the ipcMain channel. This component allows communication between renderer process (frontend) and electron main process.

    Implements

    Index

    Constructors

    Properties

    channelHandlers: ConnectionHandlers<Channel> = ...
    openChannels: Map<number, ElectronWebContentChannel> = ...

    Each electron window has a main channel and its own multiplexer to route multiple client messages the same IPC connection.

    wsHandlers: ConnectionHandlers<unknown> = ...

    Methods