sendToFrame
abstract fun sendToFrame(frameId: ERROR CLASS: Symbol not found for js.array.Tuple2<kotlin/Double, kotlin/Double>, channel: String, vararg args: Any?): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for js.core.Void>(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.sendToFrame for examples.