IpcSocket Interface

An inter-process socket connection between a single IModelHost on the backend (the node process), and an IModelApp on the frontend (the browser process.) Each side will implement this interface to form a two way connection. The frontend and backend processes connected through an IpcSocket don't necessarily have to be on the same computer, but often are.

Properties

Name Type Description
addListener (channel: string, listener: IpcListener) => RemoveFunction    
removeListener (channel: string, listener: IpcListener) => void    
send (channel: string, ...data: any[]) => void    

Defined in

Last Updated: 20 April, 2024