Hello guys,
Now I'm trying to embed v8 to my application, and allow user to run JS code, but the code is not organized in a file, it may be in pieces.
In other word, user can run code A, and after that, user can run code B.
My issue is if A includes a await for an async function, it may cost much time to start to run code B.
How can I deal with this? Currently I want to use multiple isolates to run different code, but I wonder if there is any proper way.
Thanks.