Can the Function persist ?
xhsiung opened this issue · 3 comments
xhsiung commented
how do i do ?
kjvalencik commented
Can you share a bit more about your use case? Functions exported on the module context will persist.
https://github.com/neon-bindings/examples/blob/master/hello-world/native/src/lib.rs
xhsiung commented
i want to call the thread another process in the Rust.
the process result emit to send the Event in the Javascript.
how to do that ?
kjvalencik commented
Examples include using JsBox
which can hold a JsFunction
.