@zubridge/electron
Version:
A streamlined state management library for Electron applications using Zustand.
15 lines (14 loc) • 563 B
text/typescript
/**
* Constants used for IPC communication between main and renderer processes.
* These are internal to the Zubridge electron implementation.
*/
export declare enum IpcChannel {
/** Channel for subscribing to state updates */
SUBSCRIBE = "__zubridge_state_update",
/** Channel for getting the current state */
GET_STATE = "__zubridge_get_initial_state",
/** Channel for dispatching actions */
DISPATCH = "__zubridge_dispatch_action",
/** Channel for acknowledging action dispatches */
DISPATCH_ACK = "__zubridge_dispatch_ack"
}