Replies: 5 comments 7 replies
-
Please check out this file https://github.com/caoccao/Javet/blob/main/src/test/java/com/caoccao/javet/mock/MockFS.java for how to play with |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer. Below is the pseudo code that works. I am not familiar with javascript so I' m not sure if it's the good way to do that. Can you give me your opinion.
|
Beta Was this translation helpful? Give feedback.
-
Thanks a lot. I'm using the default mode v8. If I use the node instance, it returns the following error message
on
|
Beta Was this translation helpful? Give feedback.
-
I pushed two examples with V8 and nodejs modes here https://github.com/ebocher/demat/blob/main_next_iteration/src/test/java/org/orbisgis/demat/JavetTest.java |
Beta Was this translation helpful? Give feedback.
-
moving await at the good place. It works !. Now the next challenge will be to save the chart in a png file. So I must find a way to rely on node canvas. Any suggestions are welcome ;-) |
Beta Was this translation helpful? Give feedback.
-
I'd like to replace graaljs engine to javet at this place https://github.com/orbisgis/demat/blob/main/src/main/java/org/orbisgis/demat/IOUtils.java#L98
I have tested different methods described in the javet doc to play with promise , but without success.
Can you suggest a solution?
Best regards
Beta Was this translation helpful? Give feedback.
All reactions