title: using arg beyond ipcRenderer electron?
body: <p>So I have this code and the arg is getting sent through from Main.</p>
  <pre><code>    ipcRenderer.send('asynchronous-message', 'async ping')
  
      ipcRenderer.on('asynchronous-reply', (event, arg) =&gt; {
        console.log(arg);
      });
  </code></pre>
  <p>I would like to be able to use the arg outside of the ipcRenderer function but I can't get it out.
  Is this even possible and if so then how? Thanks in advance.</p>