Expand description
Deno executor implementation — handles V8 isolation and module execution.
§Architecture
Each invocation spawns a fresh OS thread with a dedicated single-threaded Tokio
runtime. This sidesteps the “cannot call block_on inside a Tokio runtime”
restriction while keeping V8 + its event loop on an uncontested thread.
The result is returned to the outer async context via a oneshot channel.
Structs§
- Execution
Result - Result returned from the blocking deno thread back to the async caller.
Functions§
- run_
in_ dedicated_ thread - Execute guest
JavaScriptinside a freshJsRuntime+ dedicated Tokio runtime.