Bromeon/js-sandbox

How to expose Rust functions to the JS runtime?

Closed this issue · 2 comments

To expose functions to JS, I need access to JsRuntime, or an ability to pass extensions to a script during initialization, but as far as I can see, neither is possible currently. Am I missing something?

Accessing Rust from JS is currently not supported, by design. See discussion in #12 🙂

Closing as answered.