packages/electron-client-ipc/README.md
This package is a client-side toolkit for handling IPC (Inter-Process Communication) in LobeHub's Electron environment.
In Electron applications, IPC (Inter-Process Communication) serves as a bridge connecting the Main Process, Renderer Process, and NextJS Process. To better organize and manage these communications, we have split the IPC-related code into two packages:
@lobechat/electron-client-ipc: Client-side IPC package@lobechat/electron-server-ipc: Server-side IPC packageipcRenderer.invoke related methodsWhen the renderer process needs to:
All such operations need to be initiated through the methods provided by the electron-client-ipc package.
This separated package design follows the principle of separation of concerns, ensuring that:
IPC communication needs vary across different use cases and platforms. We welcome community contributions to improve and extend the IPC functionality. You can participate in improvements through:
This is an internal module of LobeHub ("private": true), designed specifically for LobeHub and not published as a standalone package.