IpcSocketFrontend Interface

Interface for the frontend (browser) side of a socket connection. Frontends may invoke methods implemented on the backend.

Extends

Properties

Name Type Description
invoke (channel: string, ...args: any[]) => Promise<any>    

Inherited properties

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

Defined in

Last Updated: 16 April, 2024