Communicate between JSContext #1026
-
When initializing environment for quickjs, create a Runtime and Context (which obviously a Runtime can create multiple Context). I was wonder if we have any way to communicate between two Context like Mutex or something else? |
Beta Was this translation helpful? Give feedback.
Answered by
bnoordhuis
Apr 11, 2025
Replies: 1 comment 2 replies
-
You're probably looking for JS_WriteObject and JS_ReadObject. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
harumazzz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You're probably looking for JS_WriteObject and JS_ReadObject.