Protected
Readonly
channelProtected
Readonly
connectionProtected
Readonly
messagingProtected
Readonly
openEach electron window has a main channel and its own multiplexer to route multiple client messages the same IPC connection.
Protected
Readonly
wsProtected
createCreates a new channel for a given sender/window
Protected
deleteProtected
handleProtected
initeslint-disable-next-line @typescript-eslint/no-explicit-any
The application is ready and is starting. This is the time to initialize services global to this process.
Invoked when the electron-main process starts for the first time.
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 incomingopen
events on theipcMain
channel. This component allows communication between renderer process (frontend) and electron main process.