send

abstract fun send(channel: String, vararg args: Any?): <Error class: unknown class><<Error class: unknown class>>(source)

Send an asynchronous message to renderer process via channel, you can also send arbitrary arguments. The renderer process can handle the message by listening to the channel event with the ipcRenderer module.

See webContents.send for examples.