Sam Cao

Results 319 comments of Sam Cao

There's a trick to be played to enable the native image. Please refer to #107 for detail.

Please read the doc carefully. It's a path to where the .dylib file is stored, not the path of that .dylib file.

It seems that Javet doesn't load the binary successfully. Here are something you could do to troubleshoot this: 1. Use absolute path instead of the relative path. 2. Adjust the...

The lib loading leverages reflection. I'm not sure if you took care of that in your build.

Blocking or non-blocking depends on how the JS code is written. - If the JS code makes a one-time async call, `await()` will be released after that call is completed....

That's not what I meant. The `close()` is a JS call to the JS web server. You could get the instance of the JS web server, invoke the `close`.

Hi @jbatra-umeey , Thank you and welcome. There are 2 typical options for your reference. 1. Wrap that call in a Java `Future` and let JS code wait that `Future`...

A simple answer: Yes. According to your reply, I do see there is quite some work to do to make it work. The JS code seems to be like a...

I suggest you to start from a simple script so that you could get familiar with the Javet way, then add more features to the script. Ping me at discord...

It's not implemented in J2V8, I suppose. If you really want that feature, you may try [Javet](https://github.com/caoccao/Javet) that allows `@V8Property`.