pub fn run_main(chunk: Chunk) -> Result<Value, String>Expand description
Run the top-level program chunk, then drain the event loop (microtasks + timers) until quiescent — matching Node, which keeps the process alive while pending async work remains.