DenoDDeno
Powered by
sauce (yes I was hacked lmao)S
Denoβ€’5mo agoβ€’
1 reply
sauce (yes I was hacked lmao)

Call a function from JsRuntime without handle_scope

Does anyone have any idea why the "handle_scope" method was removed from the JsRuntime struct?
I 've been trying to call a function from a loaded file but this makes it pretty much impossible. Any idea how to do it without using execute_script? (as I want to capture the result)
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

How to call a JS function from Rust?
Marcus AIreliusMMarcus AIrelius / help
3y ago
Call Rust function from Deno API
thomasmandorferTthomasmandorfer / help
2y ago