Type Alias: ElectronIPCServiceEntrypointOptions
ElectronIPCServiceEntrypointOptions =
object
The options of electronIPCServiceEntrypoint.
Properties
channel?
optionalchannel?:string
The IPC channel of the requests (ipcRenderer.invoke(channel, data, clientId)). The events pushed to the pages are sent on <channel>:event, and a page subscribes to them by sending its client id on <channel>:subscribe.
Default
ts
'lakutata:service'ipcMain?
optionalipcMain?:IPCMain
The ipcMain to serve the requests on.
Default
the ipcMain of Electron's main process
middlewares?
optionalmiddlewares?:MiddlewareDefinition[]
The middlewares of this adapter's actions, run after the entrypoint's global middlewares.
name?
optionalname?:string
The adapter name, to tell apart several service adapters of one entrypoint.