Protected ReadonlychannelProtected ReadonlyconnectionProtected ReadonlymessagingProtected ReadonlyopenEach electron window has a main channel and its own multiplexer to route multiple client messages the same IPC connection.
Protected ReadonlywsProtectedcreateCreates a new channel for a given sender/window
ProtecteddeleteProtectedhandleProtectediniteslint-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
MessagingContributionbut for Electron. Unlike the WebSocket based implementation, we do not expect to receive connection events. Instead, we'll create channels based on incomingopenevents on theipcMainchannel. This component allows communication between renderer process (frontend) and electron main process.