How to get promise fulfilled result use deno_core?
I want use jsRuntime to run js func, i use
&mut worker.js_runtime.handle_scope()
to get scope, so i can't use worker.run_event_loop(false).await.unwrap()
when result is promise. I just learned rust not long ago, I don't know how to deal with this situation of multiple variable references. worker is deno_runtime::worker::MainWorker.
1 Reply
succeeded :hooray_deno:
