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
- core/common/src/ipc/IpcSocket.ts Line 41
Last Updated: 20 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.