removeListener

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

Alias for ipcMain.off.