electron-event-flux
Version:
Redux store which synchronizes between instances in multiple process
17 lines • 662 B
TypeScript
import IMainClientCallbacks from "./IMainClientCallbacks";
import { Log } from "./utils/loggerApply";
export interface IClientInfo {
clientId: string;
}
export interface IMainClientConstructor {
new (callbacks: IMainClientCallbacks, log: Log): IMainClient;
}
export default interface IMainClient {
getForwardClients(): IClientInfo[];
dispatchToRenderer(client: IClientInfo, payload: any): void;
changeClientAction(clientId: string, params: any): void;
isRegister(clientId: string): boolean;
whenRegister(clientId: string, callback: () => void): void;
isClose(clientId: string): boolean;
}
//# sourceMappingURL=IMainClient.d.ts.map