title: How to call a function in main v8 loop from a different thread
body: <p>I am trying to implement an audio module for nodejs which involves a neural network.</p>
  
  <p>This neural network has 2 types of nodes </p>
  
  <ol>
  <li>Pure C++ </li>
  <li>C++ based on JAVASCRIPT ( which involves calling a javascript
  function  )</li>
  </ol>
  
  <p>As far as i know its not possible to call any function which involves v8 from a different thread. And if i return to the main thread i will lose my traverse in the neural network.</p>
  
  <p>How to implement a call to a function in the main thread from a different thread? </p>