Check if a function has side effects or out of scope references? #16204
Unanswered
zhangyx1998
asked this question in
Q&A
Replies: 1 comment
-
https://astexplorer.net/#/gist/7283141e13dab314521744603a95e9b7/778177f43609eda9dc75df629a49649025fac118 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to create a utility that is capable of passing JS functions through IPC channels (rpc-magic-proxy). It is currently capable of creating a proxy back to the process that 'owns' the function.
However, that approach will make all proxied functions async, since IPC communications are asynchronous by nature. Therefore, I want to push it further by serializing "simple" functions and reconstructing them on another side.
For example:
Beta Was this translation helpful? Give feedback.
All reactions