pub fn gen_resume(gen: &Value, send: Value) -> Result<GenStep, String>Expand description
Resume a generator until its next yield or its body returns. Preserves the
shared host: the coroutine is taken out so the body re-enters with_host
freely, and the volatile context is swapped so the caller’s frames/signal
survive the switch.