Each electron window has a main channel and its own multiplexer to route multiple client messages the same IPC connection.
Creates the main channel to a window.
The window that the channel should be established to.
Accept an ipc channel on the given path. A path supports the route syntax: https://github.com/rcs/route-parser#what-can-i-use-in-my-routes.
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.