0

I'm trying to create multiple v8::Contexts with their own globals initialized by evaluating exactly the same JavaScript module code.

I was hoping to compile the code once, and then run it for every v8::Context. However, it looks like v8::Module can be run once for a single ``v8::Context`.

Is there any way to compile code once, and then instantiate and evaluate module for multiple v8::Contexts?

Yuri
  • 81
  • 5

0 Answers0