IpcSocketBackend Interface

Interface for the backend (Node.js) side of a socket connection. Backends provide the implementation of methods that are invoked from the frontend.

Extends

Properties

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

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