@lobehub/chat
Version:
Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.
15 lines (10 loc) • 330 B
text/typescript
import net from 'node:net';
import { ServerDispatchEventKey } from '../events';
export type IPCEventMethod = (
params: any,
context: { id: string; method: string; socket: net.Socket },
) => Promise<any>;
export type ElectronIPCEventHandler = {
[key in ServerDispatchEventKey]: IPCEventMethod;
};
export * from './file';