addListener

abstract fun addListener(channel: String, listener: Function<Unit>)(source)

Alias for ipcRenderer.on.