caoccao / Javet

Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java.
https://www.caoccao.com/Javet/
Apache License 2.0
681 stars 64 forks source link

Sequence interface #338

Open AsyncProxy opened 3 months ago

AsyncProxy commented 3 months ago

Can you implement a serialization interface for your engine interface, I need to pass objects across processes, but you don't seem to support serialization

caoccao commented 3 months ago

Please try V8 snapshot. Otherwise, it's technically impossible.

AsyncProxy commented 3 months ago

Please try V8 snapshot. Otherwise, it's technically impossible.

If that doesn't work, I'll have to run it in a process, but Node.js if I run into an endless loop during the execution process, and the Java side calls the engine's close method can't force the engine down, can I redesign this method?