Interface IpcBridgeEvents

Defines the set of event handlers available for the IPC bridge. Each event corresponds to a specific message type that can be received.

interface IpcBridgeEvents {
    connect: ((message: ConnectMessage) => void);
    disconnect: ((message: DisconnectMessage) => void);
    error: ((message: ErrorMessage) => void);
    message: ((message: IpcIncomingMessage) => void);
    ready: ((message: ReadyMessage) => void);
}

Properties

connect: ((message: ConnectMessage) => void)
disconnect: ((message: DisconnectMessage) => void)
error: ((message: ErrorMessage) => void)
message: ((message: IpcIncomingMessage) => void)
ready: ((message: ReadyMessage) => void)