How to use the electron-better-ipc.ipcRenderer.removeListener function in electron-better-ipc

To help you get started, we’ve selected a few electron-better-ipc examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github npezza93 / archipelago / app / renderer / search / search.jsx View on Github external
      new Disposable(() => ipc.removeListener('dark-mode-changed', boundChanger))
    )
github npezza93 / archipelago / app / renderer / about / about.jsx View on Github external
      new Disposable(() => ipc.removeListener('dark-mode-changed', boundChanger))
    )
github npezza93 / archipelago / app / renderer / app / app.jsx View on Github external
      new Disposable(() => ipc.removeListener('close-via-menu', this.closeViaMenu))
    )
github npezza93 / archipelago / app / renderer / settings / settings.jsx View on Github external
      new Disposable(() => ipc.removeListener('close-via-menu', window.close))
    )
github npezza93 / archipelago / app / renderer / search / search.jsx View on Github external
      new Disposable(() => ipc.removeListener('close-via-menu', window.close))
    )
github npezza93 / archipelago / app / renderer / about / about.jsx View on Github external
      new Disposable(() => ipc.removeListener('close-via-menu', window.close))
    )
github npezza93 / archipelago / app / renderer / settings / settings.jsx View on Github external
      new Disposable(() => ipc.removeListener('dark-mode-changed', boundChanger))
    )
github npezza93 / archipelago / app / renderer / sessions / session.js View on Github external
return new Disposable(() => {
      ipc.removeListener(`pty-exit-${this.id}`, callback)
    })
  }
github npezza93 / archipelago / app / renderer / sessions / session.js View on Github external
this.subscriptions.add(new Disposable(() => {
      ipc.removeListener(`pty-data-${this.id}`, this.writePtyData)
    }))
    this.subscriptions.add(this.onData(data => {