Skip to main content

run_vm_net_async

Function run_vm_net_async 

Source
pub async fn run_vm_net_async(input: &str) -> InterpreterResult
Expand description

Run a peer-networking program on the BYTECODE VM (single task, no channels): drive the resumable VM and service each VmBlock::Net* through the shared NetInbox — the SAME inbox the tree-walker uses — so Connect/Listen/Send/Stream/Await run byte-identically on both tiers. The VM analog of the tree-walker’s networking path; the cross-tier lock proves they agree.