Interface ElectronMessagingService
interface ElectronMessagingService { ipcChannel(path,
callback): void; } Methods
ipcChannel
- ipcChannel(path, callback): void
Parameters
- path: string
- callback: ((params, socket) => void)
- (params, socket): void
Returns void
Returns void
Accept an ipc channel on the given path. A path supports the route syntax: https://github.com/rcs/route-parser#what-can-i-use-in-my-routes.