kvision / pl.treksoft.kvision.electron / IpcRenderer

IpcRenderer

(js) interface IpcRenderer : EventEmitter

Functions

(js)

on

abstract fun on(event: String, listener: Function<*>): IpcRenderer
(js)

once

abstract fun once(event: String, listener: Function<*>): IpcRenderer
(js)

removeAllListeners

abstract fun removeAllListeners(channel: String): IpcRenderer
(js)

removeListener

abstract fun removeListener(event: String, listener: Function<*>): IpcRenderer
(js)

send

abstract fun send(channel: String, vararg args: Any): Unit
(js)

sendSync

abstract fun sendSync(channel: String, vararg args: Any): Any
(js)

sendTo

abstract fun sendTo(windowId: Number, channel: String, vararg args: Any): Unit
(js)

sendToHost

abstract fun sendToHost(channel: String, vararg args: Any): Unit