-
Notifications
You must be signed in to change notification settings - Fork 361
Description
I'm attempting to implement a sort of IPC system (a bridge to put it bluntly) between the sandboxed code running within the interpreter and the process that is running the interpreter which is a Node.js process.
The reason behind me wanting to do this is because we are implementing a sort system where users ca create custom actions on our site. And when doing these actions they can create things such as tickets and whatnot. We have chosen to go with a more advanced approach using Blockly that will then generate into JavaScript code. For the custom blocks that do these special 'actions' we decided we are going to define a global object with some native functions on it that will be used.
But here's the issue, we need a way to communicate between the sandbox running the generated code and our parent process that is running the sandbox in node. I won't get into the fine details of how the communication works, but just the fact that I need it to happen.
I read through the documentation and previous Issues here on GitHub, but unfortunately didn't find anything helpful regarding what I'm trying to achieve. If this isn't possible with this package, please let me know. As well if you are aware of any other package that can achieve what I am looking for.
Thanks!